close #32; SoftMask does not display properly at the edge of the canvas
parent
3502effc90
commit
39468327c7
|
@ -48,6 +48,9 @@ float SoftMaskInternal(float4 clipPos)
|
|||
* GetMaskAlpha(mask.y, 3, _MaskInteraction.y)
|
||||
* GetMaskAlpha(mask.z, 7, _MaskInteraction.z)
|
||||
* GetMaskAlpha(mask.w, 15, _MaskInteraction.w)
|
||||
#if SOFTMASK_EDITOR
|
||||
* step(0, view.x) * step(view.x, 1) * step(0, view.y) * step(view.y, 1)
|
||||
#endif
|
||||
;
|
||||
|
||||
return alpha;
|
||||
|
|
Loading…
Reference in New Issue