Skip to content

Just a simple OpenGL template that I use on my streams.

License

Notifications You must be signed in to change notification settings

straight-into-the-wall/opengl-template

 
 

Repository files navigation

OpenGL Template

Just a simple OpenGL template that I use on my streams.

Controls

Shortcut Description
q Quit
F5 Reload render.conf and all the resources refered by it. Red screen indicates an error, check the output of the program if you see it.
F6 Make a screenshot.
SPACE Pause/unpause the time uniform variable in shaders
In pause mode step back/forth in time.
Key Description
vert Path to the vertex shader
frag Path to the fragment shader
texture Path to the texture

Shader Uniforms

Name Type Description
resolution vec2 Current resolution of the screen in pixels
time float Amount of time passed since the beginning of the application when it was not paused.
mouse vec2 Position of the mouse on the screen in pixels

About

Just a simple OpenGL template that I use on my streams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.8%
  • Other 0.2%