Bläddra i källkod

Add name for shadowmap

ShiroSmith 7 år sedan
förälder
incheckning
4cd961b133
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      h3d/pass/PointShadowMap.hx

+ 1 - 0
h3d/pass/PointShadowMap.hx

@@ -182,6 +182,7 @@ class PointShadowMap extends Shadows {
 		var texture = pshader.shadowMap;
 		var texture = pshader.shadowMap;
 		if( staticTexture != null ) staticTexture.dispose();
 		if( staticTexture != null ) staticTexture.dispose();
 		staticTexture = texture.clone();
 		staticTexture = texture.clone();
+		staticTexture.name = "StaticPointShadowMap";
 		pshader.shadowMap = staticTexture;
 		pshader.shadowMap = staticTexture;
 	}
 	}
 }
 }