Skip to content

A generic command line node app to work with workflows that primarily involve shaders.

Notifications You must be signed in to change notification settings

sortofsleepy/glsl-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLSL-HELPER

This is a simple command line helper for making it simpler to separate chunks of glsl into different files.(though technically this will work with any text based file)

How to use

  • npm install (TODO update with better directions, it's slightly different if I remember correctly with command line tools)
  • glsl-builder + options
  • add #include <filename> to your files.
  • There will be a watch process started so things will re-compile with every change.

Options

  • --outputPath: the path to output the compiled files too
  • --vertex: path to vertex shader
  • --fragment: path to fragment shader

Notes

  • The traversal depth is currently only one file: for example if you include the "random" module into your vertex shader, any include statements in the "random" module will be ignored.

About

A generic command line node app to work with workflows that primarily involve shaders.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published