浏览代码

fix missing cull mask in reflection probe capture

/main
RSlysz 6 年前
当前提交
d27d585a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/ReflectionSystemInternal.cs

1
com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/ReflectionSystemInternal.cs


camera.backgroundColor = camera.backgroundColor;
camera.projectionMatrix = projection;
camera.worldToCameraMatrix = worldToCamera;
camera.cullingMask = additional.reflectionProbe.cullingMask;
var ctr = camera.transform;
ctr.position = capturePosition;

正在加载...
取消
保存