mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Factor shadow constants out of MainShaderConstantSetter
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user