Shader "ShaderLab Tutorials/Z-Fighting"
{
Properties
{
_MainTex("Texture",2D) = ""
}
SubShader
{
Pass
{
SetTexture[_MainTex]{Combine texture double}
}
}
}
Shader "ShaderLab Tutorials/Z-Fighting"
{
Properties
{
_MainTex("Texture",2D) = ""
}
SubShader
{
ZTest Always
Tags{"Queue" = "Transparent"}
Pass
{
SetTexture[_MainTex]{Combine texture double}
}
}
}
Shader "ShaderLab Tutorials/Z-Fighting"
{
Properties
{
_MainTex("Texture",2D) = ""
}
SubShader
{
Offset -1,0
//Tags{"Queue" = "Transparent"}
Pass
{
SetTexture[_MainTex]{Combine texture double}
}
}
}