Added exposure controls to the ReflectionProbe component
Signed-off-by: dmcdiar <dmcdiar@amazon.com>
This commit is contained in:
+12
@@ -283,6 +283,18 @@ namespace AZ
|
||||
probe->ShowVisualization(showVisualization);
|
||||
}
|
||||
|
||||
void ReflectionProbeFeatureProcessor::SetRenderExposure(const ReflectionProbeHandle& probe, float renderExposure)
|
||||
{
|
||||
AZ_Assert(probe.get(), "SetRenderExposure called with an invalid handle");
|
||||
probe->SetRenderExposure(renderExposure);
|
||||
}
|
||||
|
||||
void ReflectionProbeFeatureProcessor::SetBakeExposure(const ReflectionProbeHandle& probe, float bakeExposure)
|
||||
{
|
||||
AZ_Assert(probe.get(), "SetBakeExposure called with an invalid handle");
|
||||
probe->SetBakeExposure(bakeExposure);
|
||||
}
|
||||
|
||||
void ReflectionProbeFeatureProcessor::FindReflectionProbes(const Vector3& position, ReflectionProbeVector& reflectionProbes)
|
||||
{
|
||||
reflectionProbes.clear();
|
||||
|
||||
Reference in New Issue
Block a user