2
0
Mugen87 7 жил өмнө
parent
commit
ca1f7cc281

+ 1 - 0
examples/js/objects/LensFlare.js

@@ -232,6 +232,7 @@ THREE.LensFlareElement = function ( texture, size, distance, blending, color, op
 
 	this.type = 'LensFlareElement';
 	this.frustumCulled = false;
+	this.renderOrder = Infinity; // see #12883
 
 	this.flareTexture = texture;
 	this.flareSize = size || 1;

+ 1 - 0
examples/js/objects/Reflector.js

@@ -7,6 +7,7 @@ THREE.Reflector = function ( geometry, options ) {
 	THREE.Mesh.call( this, geometry );
 
 	this.type = 'Reflector';
+	this.renderOrder = Infinity; // see #12883
 
 	var scope = this;