Skip to content

MaximeMorel/glsl-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

glsl-demo

Simple C clone of shadertoy, to make glsl demo.

How to compile :

gcc glsl.c -lGL -lglut -lGLEW -o glsl-demo

How to use :

./glsl-demo

It will automatically scan for *.fs file in the same folder

  • n for next shader, b for previous shader
  • p to pause time
  • +- to increase, decrease timestep
  • i to reset timer
  • w to toggle fullscreen

If the active shader .fs file is modified, it will recompile the shader. You can almost copy/paste shadertoy shaders to test (mostly the one wihtout attachements, others need some tweaking).

About

Simple C clone of shadertoy, to make glsl demo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published