Skip to content

Interactive GLSL shader editor with hot reloading and automatic GUI generation, inspired by ShaderToy

Notifications You must be signed in to change notification settings

foltik/Shader-Playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shader Playground

A shader editor inspired by ShaderToy featuring live reloading and automatic GUI generation for uniform variables.

Try the demo with cargo run demo.glsl.

image

Details

Once opened, writing to the file will trigger a recompile of the shader.

Several built-in push constants are available, see demo.glsl for the full list.

Any uniform structures present and used in the shader will generate an editable GUI as long as the field types are all either int, float, vec2, vec3, or vec4.

Compatibility

As of now I've only tested on Linux with Vulkan, so other platforms may not work. Pull requests welcome.

About

Interactive GLSL shader editor with hot reloading and automatic GUI generation, inspired by ShaderToy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published