Mugen87 7 éve
szülő
commit
ca1f7cc281
2 módosított fájl, 2 hozzáadás és 0 törlés
  1. 1 0
      examples/js/objects/LensFlare.js
  2. 1 0
      examples/js/objects/Reflector.js

+ 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;