Skip to content

HangmansMoose/tsoding_opengl

Repository files navigation

OpenGL Template

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

Controls

Shortcut Description
q Quit
F5 Reload main.frag and main.vert shaders. Red screen indicates a compilation or linking error, check the output of the program if you see it.
SPACE Pause/unpause the time uniform variable in shaders
In pause mode step back/forth in time.

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

copied from tsoding

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published