mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-18 15:02:09 +00:00
14 lines
275 B
JavaScript
14 lines
275 B
JavaScript
/**
|
|
* RTT version
|
|
*/
|
|
|
|
THREE.ReflectorRTT = function ( geometry, options ) {
|
|
|
|
THREE.Reflector.call( this, geometry, options );
|
|
|
|
this.geometry.setDrawRange( 0, 0 ); // avoid rendering geometry
|
|
|
|
};
|
|
|
|
THREE.ReflectorRTT.prototype = Object.create( THREE.Reflector.prototype );
|