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