JMS55
JMS55
@robtfm as I suspected, there's a bug with the shadow pass and `PreviousViewProjectionUniforms`. If you add the following to the lighting.rs example ```rust .add_plugins(DefaultPlugins.set(PbrPlugin { prepass_enabled: false, ..default() })) ```...
Ok, fixed that. Seems to work, but please double check the previous commit and ensure I didn't introduce new bugs haha.
This issue should be fixed. Can anyone who ran into the original issue reproduce it on 0.13?
> Why only refresh every second? It seems a bit slow to me. If I refresh every frame, the numbers would move too fast to read. We can tweak how...
> I'm also not sure a UI display for this is the most apt approach since this is always compiled in. We may want to instead expose spans or counters...
> You could display every frame and then a sliding average as well. Or a sliding max is perhaps more interesting? Currently it's an exponential moving average, with the UI...
Can we defer nested spans to a future PR? If so, I think this PR is done now.
Maybe this should be moved to bevy_diagnostics under an optional feature, if that won't cause cyclic dependencies...
A nice visualization technique I've seen: Each top level profiling group/span is associated with a random(?) color, and all sub-spans are the same color (and indented one). Visualizations I've seen...
Instead of locking to max clocks, the script should probably lock to GPU base clocks. This is what NSight does.