浏览代码

[PlanarReflection] Update capture camera clip planes

/main
Frédéric Vauchelles 7 年前
当前提交
35c34cb4
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/ReflectionSystemInternal.cs

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/ReflectionSystemInternal.cs


camera.fieldOfView = GetCaptureCameraFOVFor(probe);
camera.aspect = 1;
camera.nearClipPlane = probe.captureNearPlane;
camera.farClipPlane = probe.captureFarPlane;
}
static HDCamera GetRenderHDCamera(PlanarReflectionProbe probe)

正在加载...
取消
保存