Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Shaders are small pieces of code executed directly on the graphics card. They govern how vertexes are transformed and how each individual pixel color is calculated.
The engine stores shaders in the High Level Shader Format (HLSL) and supports the Standard Annotations and Semantics. It can dynamically generate shaders at runtime and apply pixel shaders to the entire scene.
The HLSL code is stored in
.fx files in the
Shader subdirectory of the Engine's source directory. They are compiled to
.fxo files via a post-build script. Each HLSL file usually has a corresponding C# class in the