Skip to content

whyvn/shader_alchemist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

like shadertoy

a live (hot reloaded) testing environment for shaders with:

  • convenient built in resources (pre defined functions, uniforms, sample able textures) for sdf, time, input
  • useful ui options such as uniform and variable inspector (to view and manipulate)
  • debugging information like compilation error logs
  • file based interaction

specials

specials are specific keywords prefixed with an "@" which effect the state of the running app

special action
pause pauses the application
reset resets the time to 0
tick (N) tick the timer by N (signed)
uniforms print the value of uniforms
inspect prints the next line's value
override force the next line's value
extern(s) use an external symbol

e.g. a line (anywhere in the file) that reads "@pause" will pause the application

Building

  • zig version 0.16.0-dev.9+8248597a2

About

like shadertoy from shadertoy.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published