|
|
|
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Collections.Generic; |
|
|
|
using UnityEngine.Rendering; |
|
|
|
using System; |
|
|
|
using System.Diagnostics; |
|
|
|
|
|
|
public override void Render(ScriptableRenderContext renderContext, Camera[] cameras) |
|
|
|
{ |
|
|
|
base.Render(renderContext, cameras); |
|
|
|
BeginFrameRendering(cameras); |
|
|
|
|
|
|
|
if (m_FrameCount != Time.frameCount) |
|
|
|
{ |
|
|
|
|
|
|
{ |
|
|
|
if (camera == null) |
|
|
|
continue; |
|
|
|
|
|
|
|
BeginCameraRendering(camera); |
|
|
|
|
|
|
|
if (camera.cameraType != CameraType.Reflection) |
|
|
|
// TODO: Render only visible probes
|
|
|
|