|
|
|
|
|
|
//@TODO: need to get light probes + LPPV too?
|
|
|
|
settings.inputFilter.SetQueuesOpaque(); |
|
|
|
settings.rendererConfiguration = RendererConfiguration.PerObjectLightmaps | RendererConfiguration.PerObjectLightProbe; |
|
|
|
loop.DrawRenderers(settings); |
|
|
|
loop.DrawRenderers(ref settings); |
|
|
|
} |
|
|
|
|
|
|
|
void RenderForward(CullResults cull, Camera camera, ScriptableRenderContext loop, bool opaquesOnly) |
|
|
|
|
|
|
if (opaquesOnly) settings.inputFilter.SetQueuesOpaque(); |
|
|
|
else settings.inputFilter.SetQueuesTransparent(); |
|
|
|
|
|
|
|
loop.DrawRenderers(settings); |
|
|
|
loop.DrawRenderers(ref settings); |
|
|
|
} |
|
|
|
|
|
|
|
static void DepthOnlyForForwardOpaques(CullResults cull, Camera camera, ScriptableRenderContext loop) |
|
|
|
|
|
|
sorting = { flags = SortFlags.CommonOpaque } |
|
|
|
}; |
|
|
|
settings.inputFilter.SetQueuesOpaque(); |
|
|
|
loop.DrawRenderers(settings); |
|
|
|
loop.DrawRenderers(ref settings); |
|
|
|
} |
|
|
|
|
|
|
|
bool usingFptl |
|
|
|