ShaderLab Tutorials-Alpha Testing

来源:互联网 发布:ipad上电视直播软件 编辑:程序博客网 时间:2024/05/29 14:07
Shader "ShaderLab Tutorials/Alpha Testing" {Properties{_Cutoff("Alpha Cutoff",Range(0,1)) = 0.5_MainTex("Texture",2D) = ""}SubShader {AlphaTest GEqual [_Cutoff]Cull offTags { "Queue" = "Geometry+500" }BindChannels{Bind "vertex",vertex Bind "color",colorBind "texcoord1",texcoord}Pass {SetTexture[_MainTex]{Combine texture alpha * primary alpha,texture * primary}}}}

0 0
原创粉丝点击