|
|
|
|
|
|
} |
|
|
|
|
|
|
|
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; |
|
|
|