Created
July 13, 2011 06:53
-
-
Save gmjosack/1079848 to your computer and use it in GitHub Desktop.
Minimum 2D HLSL Pixel Shader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float4 PixelShaderFunction(float2 coords: TEXCOORD0) : COLOR0 | |
{ | |
return float4(1, 0, 0, 1); | |
} | |
technique Technique1 | |
{ | |
pass Pass1 | |
{ | |
PixelShader = compile ps_2_0 PixelShaderFunction(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment