浏览代码

Add name for shadowmap

ShiroSmith 7 年之前
父节点
当前提交
4cd961b133
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
 		if( staticTexture != null ) staticTexture.dispose();
 		staticTexture = texture.clone();
+		staticTexture.name = "StaticPointShadowMap";
 		pshader.shadowMap = staticTexture;
 	}
 }