Change spaces to tabs
parent
cc6a74cc39
commit
d00d64cb02
|
@ -23,8 +23,8 @@ half SoftMask(float4 clipPos)
|
||||||
{
|
{
|
||||||
half2 view = clipPos.xy/_ScreenParams.xy;
|
half2 view = clipPos.xy/_ScreenParams.xy;
|
||||||
#if UNITY_UV_STARTS_AT_TOP
|
#if UNITY_UV_STARTS_AT_TOP
|
||||||
view.y = 1.0 - view.y;
|
view.y = 1.0 - view.y;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
half alpha =
|
half alpha =
|
||||||
lerp(1, tex2D(_SoftMaskTex, view).a, step(15, _Stencil))
|
lerp(1, tex2D(_SoftMaskTex, view).a, step(15, _Stencil))
|
||||||
|
|
Loading…
Reference in New Issue