-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a post processing stage for atmosphere light scattering #10063
Conversation
Also added a Sandcastle example for this new post processing stage
Thanks for the pull request @xtassin!
Reviewers, don't forget to make sure that:
|
…then fails with <code>39:9 error Parsing error: The keyword 'let' is reserved</code>
…tmospherePostProcessing
…nColor variable in AtmospherePostProcessing.html is clearly a variable and is reassigned in the call to the Color.lerp method. Eslint insist on making it a const but I, as a human being, disagree, even though I am forced to comply to make the build work.
Thanks @xtassin! This looks great! @sanjeetsuhag Would you be able to do a review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, @xtassin. The effect in the Sandcastle looks amazing! I have a few comments: mostly around the documentation and the public API side of things.
Co-authored-by: Sam Suhag <sanjeetsuhag@users.noreply.github.com>
Co-authored-by: Sam Suhag <sanjeetsuhag@users.noreply.github.com>
Co-authored-by: Sam Suhag <sanjeetsuhag@users.noreply.github.com>
…tmospherePostProcessing
Co-authored-by: Sam Suhag <sanjeetsuhag@users.noreply.github.com>
Co-authored-by: Sam Suhag <sanjeetsuhag@users.noreply.github.com>
…tmospherePostProcessing
Co-authored-by: Gabby Getz <gabby@cesium.com>
Nice that fixed it for me. That's all the feedback I have on the visuals. @IanLilleyT can you do a final code review by early next week? |
@IanLilleyT Since I'll be out next week, is there a chance you could take a look at this today? It would be great to get this in this release. |
@sanjeetsuhag Ian is out today but I can take a look |
I maybe could've dived deeper into the math, but the code looks very clean and well organized. Fog culling is slightly more pronounced because the fog is darker than before, but I don't see a reason to hold this up any longer. The visuals have turned out really nice here. |
Could you update |
…herePostProcessing
@sanjeetsuhag Can we swap the dropdown out for two buttons ("Sky Atmosphere" and "Ground Atmosphere") that work like tabs? The dropdown to switch screens is not a typical UI pattern. |
@ggetz I added a tabbed view |
Great, thanks @sanjeetsuhag! I'm happy to merge as long as @lilleyse is satisfied. |
@ggetz all good from my side so I merged. Thanks @xtassin and @sanjeetsuhag. |
Could you please mention @sanjeetsuhag instead of me on the release page https://cesium.com/blog/2022/05/02/cesium-releases-in-may-2022/ I don't believe I deserve any credit for this PR. Thanks. |
Also added a Sandcastle example for this new post processing stage