Discord Moderators Pirulax Posted July 28, 2018 Discord Moderators Share Posted July 28, 2018 So, I have a shader: float4 PixelShader3Function(float2 UVCoords : TEXCOORD0) : COLOR0 { return float4(0, 0, 0, 1); } technique Normal { pass P0 { PixelShader = compile ps_3_0 PixelShader3Function(); } } Which should make the texture black, but instead it makes it transparent. But, if I use compile ps_2_0 instead it works just fine, and turns my texture into black. Anyone any idea? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now