Skip to content

Commit

Permalink
revert change: fix point light intensities for three and babylon
Browse files Browse the repository at this point in the history
Gestaltor disagrees, report #429
  • Loading branch information
hybridherbst committed Sep 5, 2023
1 parent 5f581a7 commit a60acbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/Scripts/SceneExporter/ExporterLights.cs
Expand Up @@ -50,7 +50,7 @@ private LightId ExportLight(Light unityLight)
light.type = unityLight.type.ToString().ToLower();
light.color = unityLight.color.ToNumericsColorLinear();
light.range = unityLight.range;
light.intensity = unityLight.intensity / Mathf.PI;
light.intensity = unityLight.intensity * Mathf.PI;
if (!GraphicsSettings.lightsUseLinearIntensity)
light.intensity *= unityLight.intensity;
}
Expand Down

0 comments on commit a60acbd

Please sign in to comment.