Remove debug code so it actually works

This commit is contained in:
Andrew Cassidy 2020-05-23 22:10:27 -07:00
parent b5b821424a
commit 3b811e00f1
No known key found for this signature in database
GPG Key ID: 963017B38FD477A1
2 changed files with 2 additions and 4 deletions

View File

@ -54,8 +54,8 @@ Shader "ConformalDecals/Feature/BumpedVert"
//clip(color.a - _Cutoff);
o.Normal = normal;
o.Albedo = 1;//normal;//color.rgb;
o.Alpha = 1;//color.a * _Opacity;
o.Albedo = color.rgb;
o.Alpha = color.a * _Opacity;
}
ENDCG

View File

@ -162,8 +162,6 @@ fixed4 frag_forward_base(v2f IN) : SV_Target
//c += LightingBlinnPhongSmooth(o, lightDir, viewDir, atten);
c += LightingBlinnPhong(o, worldViewDir, gi);
c.rgb += o.Emission;
c.xyz = (worldTan * 0.5) + 0.5;
c.a = 1;
return c;
}