You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
254 B
17 lines
254 B
2 years ago
|
( function () {
|
||
|
|
||
|
class ReflectorRTT extends THREE.Reflector {
|
||
|
|
||
|
constructor( geometry, options ) {
|
||
|
|
||
|
super( geometry, options );
|
||
|
this.geometry.setDrawRange( 0, 0 ); // avoid rendering geometry
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
THREE.ReflectorRTT = ReflectorRTT;
|
||
|
|
||
|
} )();
|