Browse Source

Anisotropy minor fix

ShiroSmith 4 years ago
parent
commit
ee97864ed3
1 changed files with 1 additions and 1 deletions
  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));
 			}