Realtime Spherical Harmonics ambient lighting testing #3549
Replies: 6 comments 5 replies
-
Hey it seems like you didn't actually push the pre-release I've restarted steam multiple times and I'm still not receiving the build |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
-
Beta Was this translation helpful? Give feedback.
-
I've also noticed that shadows are blue-er now? |
Beta Was this translation helpful? Give feedback.
-
I turned off the "Skybox only" which makes it so it takes the ground into consideration which makes the lighting look better. But I noticed that if you have something emitting colors near it, it will read those for the colors for a few seconds before stopping when you change the skybox lighting.. https://troyborg.us-southeast-1.linodeobjects.com/2025-01/2025-01-18%2014-18-59.mp4 If I don't have the thing sitting right on top of the Reflection Probe it doesn't do it. https://troyborg.us-southeast-1.linodeobjects.com/2025-01/2025-01-18%2014-40-35.mp4 |
Beta Was this translation helpful? Give feedback.
-
Hello everyone!
I've got another thing I'd like some eyes on before I release it to the main build - the new realtime ambient light computation with Compute Shaders!
Build Version
2025.1.15.1419
What is being tested
As part of migrating more pieces of Unity to FrooxEngine for the eventual separation, I've reworked how the ambient lighting works - exposing the spherical harmonics coefficients and adding components that allow them to be computed from a Reflection Probe using compute shaders.
This not only gives you much better control over the ambient lighting, but also improves existing content - the Unity's computation is pretty heavy and CPU based, so it needs to be throttled, whereas this implementation can be updated every frame.
You can see this video for comparison: https://bsky.app/profile/frooxius.bsky.social/post/3lfq6ctt7622e
General testing notes
Avoiding data corruption
How to test
Currently I'm keeping the build still on the
prerelease
branch.prerelease
branch and make sure the build updates before you run itWhat to test
What to watch out for
-- The goal isn't for the ambient light to look identical, but close
Tuning ambient light to match the original
What NOT to test & report
-- If you're unsure, try to replicate the issue on the main build and see if it also occurs - if it also happens there, just report it as normal bug
If you find something that got broken
If you find that stuff works okay
Please report it too and include details on what you generally tested, so we know things are okay. You don't need to make a new issue for this - just a brief comment in this Discussion is fine.
This lets us know that a bunch of stuff was tested and get better confidence that stuff won't break with release.
How long will testing go for?
At very least until sometime next week since I'll be at FC and traveling. If there are major issues, we'll delay the release, but otherwise this will probably get released sometime next week (from this post).
Beta Was this translation helpful? Give feedback.
All reactions