Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- in vec4 Frag_Color;
- in vec4 Glyph;
- void geometry()
- {
- // color/texure
- }
- void glyph()
- {
- // glyph code
- }
- void main()
- {
- if (Glyph.z != 0)
- glyph();
- else
- geometry();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement