mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 12:59:14 +12:00
Shadergen: Upload light uniforms
This commit is contained in:
parent
ccf9693877
commit
7e480e35ec
4 changed files with 56 additions and 2 deletions
|
@ -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];
|
||||
};
|
||||
)";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue