Advertisement
Guest User

Untitled

a guest
Nov 6th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. in vec4 Frag_Color;
  3. in vec4 Glyph;
  4.  
  5. void geometry()
  6. {
  7.     // color/texure
  8. }
  9.  
  10. void glyph()
  11. {
  12.     // glyph code
  13. }
  14.  
  15. void main()
  16. {
  17.     if (Glyph.z != 0)
  18.         glyph();
  19.     else
  20.         geometry();
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement