浏览代码

update Boat attack API

/main
Felipe Lira 6 年前
当前提交
413a205e
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 9
      Packages/com.verasl.water-system/Scripts/Rendering/PlanerReflections.cs

9
Packages/com.verasl.water-system/Scripts/Rendering/PlanerReflections.cs


}
public void ExecuteBeforeCameraRender(
LightweightPipeline pipelineInstance,
Camera camera,
LightweightPipeline.PipelineSettings pipelineSettings,
ScriptableRenderer renderer)
Camera camera)
{
if (!enabled)

RenderSettings.fog = false;
UpdateReflectionCamera(camera);
LightweightPipeline.RenderSingleCamera(context, pipelineSettings, m_ReflectionCamera, ref cullResults, new DefaultRendererSetup(), renderer);
LightweightPipeline.RenderSingleCamera(pipelineInstance, context, m_ReflectionCamera, ref cullResults);
GL.invertCulling = false;
RenderSettings.fog = true;

正在加载...
取消
保存