Add IndirectLightingIntensity to Sky for GI intensity control

This commit is contained in:
Wojtek Figat
2024-08-12 15:34:08 +02:00
parent bcb0200435
commit 63bee0c78d
7 changed files with 36 additions and 6 deletions

View File

@@ -94,6 +94,11 @@ bool Skybox::IsDynamicSky() const
return !IsStatic();
}
float Skybox::GetIndirectLightingIntensity() const
{
return 1.0f;
}
void Skybox::ApplySky(GPUContext* context, RenderContext& renderContext, const Matrix& world)
{
// Prepare mock draw call data