Changed exposure_compensation

This commit is contained in:
Marc Garcia Puig 2020-07-29 13:37:03 +02:00
parent 4d9da5e374
commit f55be134d1
2 changed files with 3 additions and 3 deletions

View File

@ -961,7 +961,7 @@ Since these effects are provided by UE, please make sure to check their document
<tr>
<td><code>exposure_compensation</code> </td>
<td>float</td>
<td>0.0</td>
<td>-2.2</td>
<td>Logarithmic adjustment for the exposure. 0: no adjustment, -1:2x darker, -2:4 darker, 1:2x brighter, 2:4x brighter.</td>
<tr>
<td><code>exposure_min_bright</code> </td>

View File

@ -441,7 +441,7 @@ void UActorBlueprintFunctionLibrary::MakeCameraDefinition(
FActorVariation ExposureCompensation;
ExposureCompensation.Id = TEXT("exposure_compensation");
ExposureCompensation.Type = EActorAttributeType::Float;
ExposureCompensation.RecommendedValues = { TEXT("0.0") };
ExposureCompensation.RecommendedValues = { TEXT("-2.2") };
ExposureCompensation.bRestrictToRecommended = false;
// - Manual ------------------------------------------------
@ -1391,7 +1391,7 @@ void UActorBlueprintFunctionLibrary::SetCamera(
Camera->SetExposureMethod(EAutoExposureMethod::AEM_Manual);
}
Camera->SetExposureCompensation(
RetrieveActorAttributeToFloat("exposure_compensation", Description.Variations, 0.0f));
RetrieveActorAttributeToFloat("exposure_compensation", Description.Variations, -2.2f));
Camera->SetShutterSpeed(
RetrieveActorAttributeToFloat("shutter_speed", Description.Variations, 200.0f));
Camera->SetISO(