Shadergen: Upload light uniforms

This commit is contained in:
wheremyfoodat 2024-07-18 03:37:11 +03:00
parent ccf9693877
commit 7e480e35ec
4 changed files with 56 additions and 2 deletions

View file

@ -23,6 +23,8 @@ static constexpr const char* uniformDefinition = R"(
vec4 tevBufferColor;
vec4 clipCoords;
// Note: We upload this as a u32 and decode on GPU
uint globalAmbientLight;
LightSource lightSources[8];
};
)";