Started refactor to lazily compilable shaders.

This commit is contained in:
zy4n
2025-03-02 22:56:53 +01:00
parent 447146b7f5
commit 925125e99b
50 changed files with 2181 additions and 738 deletions

View File

@@ -0,0 +1,18 @@
#pragma STAGE: FRAGMENT
#pragma GEOMETRY: POINT_CLOUD
#pragma FEATURES: SQUARE V_L V_RGB V_A LIGHTING U_RGBA RAINBOW
#pragma FEATURE_TOGGLES:
//------------[ Inputs ]------------//
layout (location = 0) in vec4 frag_color;
//------------[ Outputs ]------------//
layout (location = 0) out vec4 pixel_color;
void main()
{
pixel_color = frag_color;
}