mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 18:34:44 +08:00
Moved Shaders src to CodeWalker.Shaders
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
|
||||
struct VS_OUTPUT
|
||||
{
|
||||
float4 Position : SV_POSITION;
|
||||
float4 Colour : COLOR0;
|
||||
float CullValue : TEXCOORD0;
|
||||
};
|
||||
|
||||
|
||||
float4 main(VS_OUTPUT input) : SV_TARGET
|
||||
{
|
||||
if (input.CullValue < -0.18) discard;
|
||||
return input.Colour;
|
||||
}
|
||||
Reference in New Issue
Block a user