mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Dont zwrite decal shaders
This commit is contained in:
parent
dfd4224ae0
commit
1ee1b0d84f
@ -19,14 +19,13 @@ Shader "ConformalDecals/Feature/Bumped"
|
||||
{
|
||||
Tags { "Queue" = "Geometry+100" }
|
||||
Cull Off
|
||||
|
||||
Zwrite Off
|
||||
Ztest LEqual
|
||||
Pass
|
||||
{
|
||||
Name "FORWARD"
|
||||
Tags { "LightMode" = "ForwardBase" }
|
||||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
ZWrite Off
|
||||
ZTest LEqual
|
||||
|
||||
CGPROGRAM
|
||||
#pragma vertex vert_forward
|
||||
@ -78,9 +77,6 @@ Shader "ConformalDecals/Feature/Bumped"
|
||||
Name "FORWARD"
|
||||
Tags { "LightMode" = "ForwardAdd" }
|
||||
Blend One One
|
||||
ZWrite On
|
||||
ZTest Less
|
||||
Offset -1, -1
|
||||
|
||||
CGPROGRAM
|
||||
#pragma vertex vert_forward
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user