浏览代码

Fixed compilation after merge/update of native code.

/main
Julien Ignace 8 年前
当前提交
e5e20762
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      Assets/ScriptableRenderLoop/HDRenderLoop/Sky/SkyManager.cs
  2. 2
      Assets/ScriptableRenderLoop/HDRenderLoop/Utilities.cs

2
Assets/ScriptableRenderLoop/HDRenderLoop/Sky/SkyManager.cs


m_SkyboxGGXCubemapRT.Create();
}
m_CubemapScreenSize = new Vector4((float)skyParameters.resolution, (float)skyParameters.resolution, 1.0f / (float)skyParameters.resolution, 1.0f / (float)skyParameters.resolution);
m_CubemapScreenSize = new Vector4((float)resolution, (float)resolution, 1.0f / (float)resolution, 1.0f / (float)resolution);
}
void RebuildSkyMeshes()

2
Assets/ScriptableRenderLoop/HDRenderLoop/Utilities.cs


public static HDRenderLoop GetHDRenderLoop()
{
HDRenderLoop renderLoop = UnityEngine.Rendering.GraphicsSettings.GetRenderPipeline() as HDRenderLoop;
HDRenderLoop renderLoop = UnityEngine.Rendering.GraphicsSettings.renderPipeline as HDRenderLoop;
if (renderLoop == null)
{
Debug.LogWarning("SkyParameters component can only be used with HDRenderLoop custom RenderPipeline.");

正在加载...
取消
保存