Explorar o código

Anisotropy minor fix

ShiroSmith %!s(int64=4) %!d(string=hai) anos
pai
achega
ee97864ed3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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));
 			}