Pass { Stencil { Ref 1 Comp Always Pass REPLACE } AlphaTest Greater 0 Blend SrcAlpha OneMinusSrcAlpha Color[_Color] SetTexture[_MainTex] { Combine texture } } // render outline Pass { Stencil { Ref 1 //Comp Always Comp NotEqual } Cull Off ZWrite Off AlphaTest Greater 0.9 Blend SrcAlpha OneMinusSrcAlpha ... }
时间: 2024-10-27 09:05:32