Advertisement
iMackshun

geometryspriteshader.v.pica

Feb 25th, 2021
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. ; Geometry Sprite Shader (V)
  2.  
  3. ; Constants
  4. .constf myconst(0.0, 1.0, -1.0, 0.5)
  5. .alias zeros myconst.xxxx
  6. .alias ones myconst.yyyy
  7. .alias half myconst.wwww
  8.  
  9. ; Uniforms
  10.  
  11. ; Inputs
  12. .alias inpos v0
  13.  
  14. ; Outputs
  15. .out outpos position
  16.  
  17. ; Main Function
  18. .proc main
  19. ; outpos = inpos
  20. mov outpos, inpos
  21. ; Function termination
  22. end
  23. .end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement