您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

33 行
781 B

Shader "UIWidgets/canvas_fill0_cb"
{
Properties {
_StencilComp("_StencilComp", Float) = 3 // - Equal, 8 - Always
}
SubShader {
ZTest Always
ZWrite Off
Cull Off
ColorMask 0
Stencil {
Ref 128
CompFront [_StencilComp]
CompBack [_StencilComp]
ReadMask 128
WriteMask 127
PassFront IncrWrap
PassBack DecrWrap
}
Pass {
CGPROGRAM
#pragma require compute
#include "../UIWidgets_canvas.cginc"
#include "UIWidgets_canvas_cb.cginc"
#pragma vertex vert_compute
#pragma fragment frag_stencil
ENDCG
}
}
}