浏览代码

Anisotropy minor fix

ShiroSmith 4 年之前
父节点
当前提交
ee97864ed3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hrt/prefab/pbr/Anisotropy.hx

+ 1 - 1
hrt/prefab/pbr/Anisotropy.hx

@@ -173,7 +173,7 @@ class Anisotropy extends Prefab {
 		');
 
 		ctx.properties.add(props, this, function(pname) {
-			if( pname == "mode" ) {
+			if( pname == "mode" || pname == "noiseIntensityPath" || pname == "noiseDirectionPath" ) {
 				ctx.rebuildProperties();
 				refreshShaders(ctx.getContext(this));
 			}