You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you look carefully the sky atmosphere gets brighter when the sun is offscreen. I captured this gif on the globe-alpha branch where it's more noticeable.
When the sun is onscreen the sky atmosphere gets rendered to the sun's post process framebuffer. It turns out the framebuffer uses 8-bit color always, even if HDR is enabled. I thought changing the pixel datatype would be enough to fix the problem but the sun post process just draws a black box (ignore the blue spheres). I didn't want to spend too much time investigating right now this but if anyone picks it up in the future here's my in-progress diff: sun.diff.txt.
The text was updated successfully, but these errors were encountered:
If you look carefully the sky atmosphere gets brighter when the sun is offscreen. I captured this gif on the globe-alpha branch where it's more noticeable.
Sandcastle
Here's the results of my investigation so far:
When the sun is onscreen the sky atmosphere gets rendered to the sun's post process framebuffer. It turns out the framebuffer uses 8-bit color always, even if HDR is enabled. I thought changing the pixel datatype would be enough to fix the problem but the sun post process just draws a black box (ignore the blue spheres). I didn't want to spend too much time investigating right now this but if anyone picks it up in the future here's my in-progress diff: sun.diff.txt.
The text was updated successfully, but these errors were encountered: