浏览代码

Remove double gamma correct on decals

ShiroSmith 6 年之前
父节点
当前提交
d25ff594be
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      h3d/shader/pbr/VolumeDecal.hx

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

@@ -203,7 +203,6 @@ class DecalPBR extends hxsl.Shader {
 				var albedo = albedoTexture.get(calculatedUV);
 				strength.r = albedoStrength * albedo.a;
 				alpha = albedo.a;
-				albedo *= albedo; // gamma correct
 				pixelColor = albedo;
 			}