Browse Source

Update PBR decals

ShiroSmith 6 năm trước cách đây
mục cha
commit
5f2ca06d1d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      h3d/shader/pbr/VolumeDecal.hx

+ 1 - 1
h3d/shader/pbr/VolumeDecal.hx

@@ -147,7 +147,7 @@ class VolumeDecal extends hxsl.Shader {
 				strength.b = pbrStrength;
 			}
 
-			output.color = pixelColor;
+			//output.color = pixelColor; // Allow override
 			output.normal = transformedNormal;
 			output.metalness = prbValues.r;
 			output.roughness = prbValues.g;