Advertisement
Guest User

Untitled

a guest
Jun 7th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.32 KB | None | 0 0
  1. float skewAmount = 0;
  2.  
  3. struct VertexShaderOutput
  4. {
  5.     float4 Position : POSITION0;
  6.     float4 Color : COLOR0;
  7. };
  8.  
  9. float4 PixelShader(VertexShaderOutput input) : COLOR0
  10. {
  11.     return float4(0.5, 0.5, 0.5, 0.5);
  12. }
  13.  
  14. technique Skew
  15. {
  16.     pass p1
  17.     {
  18.         PixelShader = compile ps_1_1 PixelShader();
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement