Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:30:46 -05:00
commit c630089742
4782 files changed
+178521

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#include "ShaderConstants.fxh"
struct PS_Input
{
float4 position : SV_Position;
float2 uv : TEXCOORD_0;
};
struct PS_Output
{
float4 color : SV_Target;
};
void main( in PS_Input PSInput, out PS_Output PSOutput )
{
PSOutput.color = TEXTURE_0.Sample( TextureSampler0, PSInput.uv );
#ifdef ALPHA_TEST
if( PSOutput.color.a < 0.5 )
{
discard;
}
#endif
}