public void EnableThis() { if (!targets.initialized) { targets = RenderTargets.Init(); } }
public void EnableThis(PipelineResources res) { if (!targets.initialized) { targets = RenderTargets.Init(); } }
void Awake() { cam = GetComponent <Camera>(); cam.renderingPath = RenderingPath.Forward; cam.cullingMask = 0; targets = RenderTargets.Init(); }
void Awake() { cam = GetComponent <Camera>(); cam.renderingPath = RenderingPath.Forward; cam.cullingMask = 0; cam.clearFlags = CameraClearFlags.Nothing; targets = RenderTargets.Init(); }