mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Remove debug code so it actually works
This commit is contained in:
parent
da6d72b0e7
commit
282dcd6f48
@ -54,8 +54,8 @@ Shader "ConformalDecals/Feature/BumpedVert"
|
|||||||
//clip(color.a - _Cutoff);
|
//clip(color.a - _Cutoff);
|
||||||
|
|
||||||
o.Normal = normal;
|
o.Normal = normal;
|
||||||
o.Albedo = 1;//normal;//color.rgb;
|
o.Albedo = color.rgb;
|
||||||
o.Alpha = 1;//color.a * _Opacity;
|
o.Alpha = color.a * _Opacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
ENDCG
|
ENDCG
|
||||||
|
@ -162,8 +162,6 @@ fixed4 frag_forward_base(v2f IN) : SV_Target
|
|||||||
//c += LightingBlinnPhongSmooth(o, lightDir, viewDir, atten);
|
//c += LightingBlinnPhongSmooth(o, lightDir, viewDir, atten);
|
||||||
c += LightingBlinnPhong(o, worldViewDir, gi);
|
c += LightingBlinnPhong(o, worldViewDir, gi);
|
||||||
c.rgb += o.Emission;
|
c.rgb += o.Emission;
|
||||||
c.xyz = (worldTan * 0.5) + 0.5;
|
|
||||||
c.a = 1;
|
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user