mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Factor shadow constants out of MainShaderConstantSetter
This commit is contained in:
parent
5da18d34ba
commit
e9ab5bc223
6 changed files with 118 additions and 81 deletions
|
@ -1495,6 +1495,8 @@ bool Game::createClient(const GameStartData &start_data)
|
|||
&m_flags.force_fog_off, &runData.fog_range, client);
|
||||
shader_src->addShaderConstantSetterFactory(scsf);
|
||||
|
||||
ShadowRenderer::preInit(shader_src);
|
||||
|
||||
// Update cached textures, meshes and materials
|
||||
client->afterContentReceived();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue