RE: https://mastodon.gamedev.place/@runevision/117156454263095573 So my time-of-...

@runevision@mastodon.gamedev.place

RE: mastodon.gamedev.place/@runevi

So my time-of-day system now looks great, but somewhere along the line my game got very slow. From 72 fps to 48 fps.

Is it rendering the sky lookup-texture? No. The aerial lookup-3D-texture? Nope.

It's calling Unity's DynamicGI.UpdateEnvironment() which is required to update ambient lighting (global spherical harmonics) based on the skybox. It takes a whopping 7 ms!
docs.unity3d.com/2022.3/Docume

Async GPU readback IS supported of course, so I've got no idea why it's so incredibly slow. :(