clandrin 3 år sedan
förälder
incheckning
23581bb2e5
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      h3d/shader/pbr/PropsTexture.hx

+ 2 - 2
h3d/shader/pbr/PropsTexture.hx

@@ -33,9 +33,9 @@ class PropsTexture extends hxsl.Shader {
 				roughness = 1 - v.g * v.g;
 				occlusion = v.b;
 				emissive = emissiveValue * v.a;
-				custom1 = custom1Value * v.a;
-				custom2 = custom2Value * v.a;
 			}
+			custom1 = custom1Value;
+			custom2 = custom2Value;
 		}
 
 		function fragment() {