Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GPUWorks/glsl-experiments-shader-editor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glsl-experiments

This is just a simple playground app I built using some very helpful libs:

The idea is to conveniently load meshes and play/create with shader code inside the app.

GitHub Logo

Build

```
> mkdir build
> cd build
> cmake ..
> make -j8
> ./glsl_editor
```

Hopefully my cmake configurations will take care of all dependencies.

Features

  • Continuous compilation (error listing)
  • Save/Load shader files (including a configuration file containing values of light/material)
  • Visual cues for debugging (point light, directional light)
  • Custom uniforms support (you can create uniforms (uniform arrays are supported as well))

TODO

  • Add other useful uniforms: time, mouse position, camera position
  • Add texture support (more than one channel).
  • Pass other mesh information to the shader as well.
  • Incorporate ImGuizmo.
  • Skybox/sphere allowing environment mapping.
  • Shadows (add a floor to the scene).
  • Save custom uniform values in config file.
  • Load obj files.

Screenshots

GitHub Logo GitHub Logo GitHub Logo GitHub Logo

About

Some fun/learning with shaders in glsl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 49.1%
  • GLSL 38.2%
  • CMake 12.7%