Add support for baking env probes in cooked game

This commit is contained in:
Wojciech Figat
2022-07-18 16:32:50 +02:00
parent fb3601dac6
commit 6061a0a344
9 changed files with 62 additions and 60 deletions

View File

@@ -48,11 +48,7 @@ CubeTexture* SkyLight::GetSource() const
void SkyLight::Bake(float timeout)
{
#if COMPILE_WITH_PROBES_BAKING
ProbesRenderer::Bake(this, timeout);
#else
LOG(Warning, "Baking probes is not supported.");
#endif
}
void SkyLight::SetProbeData(TextureData& data)