Fix env probes far from origin

This commit is contained in:
Wojtek Figat
2022-07-04 20:22:26 +02:00
parent 3070493729
commit 8da4e546da
5 changed files with 15 additions and 11 deletions

View File

@@ -89,8 +89,9 @@ public:
/// <summary>
/// Setup probe data structure
/// </summary>
/// <param name="data">Rendering context</param>
/// <param name="data">Packed probe data to set</param>
void SetupProbeData(struct ProbeData* data) const;
void SetupProbeData(const RenderContext& renderContext, struct ProbeData* data) const;
/// <summary>
/// Gets the custom probe (null if using baked one or none).