Files
three.js/examples/js/postprocessing/RenderPass.js
T
alteredq ff09a492bb Refactored postprocessing out of examples into own set of classes.
Not sure yet about names and location of files.
2011-08-29 23:35:36 +02:00

23 lines
343 B
JavaScript

/**
* @author alteredq / http://alteredqualia.com/
*/
THREE.RenderPass = function ( scene, camera ) {
this.scene = scene;
this.camera = camera;
this.clear = true;
};
THREE.RenderPass.prototype = {
render: function ( renderer, renderTarget, delta ) {
renderer.render( this.scene, this.camera, renderTarget, this.clear );
}
};