Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Clear main buffer
  2. if (space is pressed)
  3. bind fbo
  4. clear the FBO buffer
  5. bind main buffer
  6.  
  7. load identity
  8.  
  9. if (left mouse button is pressed)
  10. bind FBO
  11. draw the flames
  12.  
  13. bind main buffer
  14. bind flames texture
  15. draw the texture
  16. bind no texture
  17. draw the flame line preview
  18. flush
  19. finish
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement