Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Clear main buffer
- if (space is pressed)
- bind fbo
- clear the FBO buffer
- bind main buffer
- load identity
- if (left mouse button is pressed)
- bind FBO
- draw the flames
- bind main buffer
- bind flames texture
- draw the texture
- bind no texture
- draw the flame line preview
- flush
- finish
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement