partially revert 1a019b79b0

move the punch-through alpha test back to where it was (before shading)
fixes SF Rush missing chars on copyright screen
This commit is contained in:
Flyinghead 2019-09-12 18:54:14 +02:00
parent 2bcc3c574b
commit ed90bcebee
1 changed files with 5 additions and 5 deletions

View File

@ -271,6 +271,11 @@ void main() \n\
#if pp_IgnoreTexA==1 \n\
texcol.a=1.0; \n\
#endif\n\
\n\
#if cp_AlphaTest == 1 \n\
if (cp_AlphaTestValue > texcol.a) \n\
discard; \n\
#endif \n\
#endif \n\
#if pp_ShadInstr==0 \n\
{ \n\
@ -294,11 +299,6 @@ void main() \n\
} \n\
#endif\n\
\n\
#if cp_AlphaTest == 1 \n\
if (cp_AlphaTestValue > color.a) \n\
discard; \n\
#endif \n\
\n\
#if pp_Offset==1 && pp_BumpMap == 0 \n\
{ \n\
color.rgb+=vtx_offs.rgb; \n\