소스 검색

Merge pull request #13099 from Mugen87/dev7

Workaround for #12883
Mr.doob 7 년 전
부모
커밋
6cbdbd9f8e
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;