iMackshun

Vita Cg Shaders (Nothing Renders...)

Jul 1st, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Vertex Shader
  2.  
  3. void main(float4 vPosition, float4 vColor, float4 out oPosition : POSITION, float4 out oColor : COLOR)
  4. {
  5. oPosition = vPosition;
  6. oColor = vColor;
  7. }
  8.  
  9. Fragment Shader
  10.  
  11. float4 main(float4 oColor : COLOR)
  12. {
  13. return oColor;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment