浏览代码

Enable opaque atmospheric scattering for volumetric lighting

/Yibing-Project-2
Evgenii Golubev 7 年前
当前提交
6cfd56fe
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/HDRenderPipeline.cs

3
ScriptableRenderPipeline/HDRenderPipeline/HDRP/HDRenderPipeline.cs


visualEnv.PushFogShaderParameters(cmd, m_FrameSettings);
m_SkyManager.RenderSky(hdCamera, m_LightLoop.GetCurrentSunLight(), m_CameraColorBufferRT, m_CameraDepthStencilBufferRT, cmd);
if (visualEnv.fogType != FogType.None)
if (visualEnv.fogType != FogType.None || m_VolumetricLightingPreset != VolumetricLightingPreset.Off)
m_SkyManager.RenderOpaqueAtmosphericScattering(cmd);
}

正在加载...
取消
保存