浏览代码

Updated comment and adjusted else formatting

/main
Nerites 6 年前
当前提交
fc7a988b
共有 1 个文件被更改,包括 5 次插入7 次删除
  1. 12
      com.unity.render-pipelines.lightweight/LWRP/LightweightPipeline.cs

12
com.unity.render-pipelines.lightweight/LWRP/LightweightPipeline.cs


Math.Abs(cameraRect.width) < 1.0f || Math.Abs(cameraRect.height) < 1.0f));
// Discard variations lesser than kRenderScaleThreshold.
// Scale is only enabled for gameview
// XR has its own scaling mechanism.
// Scale is only enabled for gameview.
// In XR mode, grab renderScale from XRSettings instead of SRP asset for now.
// This is just a temporary change pending full integration of XR with SRP
if (camera.cameraType == CameraType.Game)
{

}
else
{
} else {
} else
{
} else {
cameraData.renderScale = 1.0f;
}

正在加载...
取消
保存