Skip to content

Commit bf95172

Browse files
Fixed obsolete API usage with latest trunk
1 parent 296ff24 commit bf95172

File tree

1 file changed

+2
-2
lines changed
  • com.unity.render-pipelines.high-definition/Runtime/Sky

1 file changed

+2
-2
lines changed

com.unity.render-pipelines.high-definition/Runtime/Sky/SkyManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ internal void SetupAmbientProbe(HDCamera hdCamera)
537537
RenderSettings.ambientIntensity = 1.0f;
538538
RenderSettings.ambientMode = AmbientMode.Skybox; // Force skybox for our HDRI
539539
RenderSettings.reflectionIntensity = 1.0f;
540-
RenderSettings.customReflection = null;
540+
RenderSettings.customReflectionTexture = null;
541541
}
542542

543543
void BlitCubemap(CommandBuffer cmd, Cubemap source, RenderTexture dest)
@@ -1254,7 +1254,7 @@ void OnBakeStarted()
12541254
RenderSettings.ambientIntensity = 1.0f;
12551255
RenderSettings.ambientMode = AmbientMode.Skybox; // Force skybox for our HDRI
12561256
RenderSettings.reflectionIntensity = 1.0f;
1257-
RenderSettings.customReflection = null;
1257+
RenderSettings.customReflectionTexture = null;
12581258

12591259
DynamicGI.UpdateEnvironment();
12601260
}

0 commit comments

Comments
 (0)