mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 22:24:48 +08:00
Weapon rendering improvements
This commit is contained in:
@@ -25,6 +25,7 @@ float4 main(VS_OUTPUT input) : SV_TARGET
|
||||
if (EnableTexture == 1)
|
||||
{
|
||||
float4 c = Colourmap.Sample(TextureSS, input.Texcoord);
|
||||
if (EnableTint == 2) { c.a = 1; }
|
||||
if ((IsDecal == 0) && (c.a <= 0.33)) discard;
|
||||
if ((IsDecal == 1) && (c.a <= 0.0)) discard;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user