关闭雾: Fog {Mode Off}
示例:
Shader "Custom/Alpha Blended Fog Off" {
Properties {
_MainTex ("Particle Texture", 2D) = "white" {}
}
Category {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" }
Blend SrcAlpha OneMinusSrcAlpha
//Cull Off Lighting Off ZWrite Off Fog { Color (0,0,0,0) }
Cull Off Lighting Off ZWrite Off Fog {Mode Off}
BindChannels {
Bind "Color", color