Skip to content

cpp-toolbox/shaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shaders

this is where we store all the shader files for our projects

compilation

Our shaders allow you to use #include "your_code_file.glsl and thus you must compile the shaders first by using the command

python main.py src out

note

There is a differentiation between a shader and a shader file. When we say shader, we are referring to a "shader program" which consists of multiple shader files, each of which either contributes to the fragment or shader part of the entire shader program, to learn about which shader programs are available please visit the shader standard.

batching

When creating new shaders, you'll probably want to combine multiple draw calls using this shader into one big draw call, please see the batcher subproject which reads in a shadre and will generate you a batcher class that will work for that shader

About

SUBPROJECT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •