Skip to content
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

Merged
merged 79 commits into from
Apr 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
d832071
Added a post processing stage for atmosphere light scattering
xtassin Feb 2, 2022
a419d58
Merge branch 'main' into AtmospherePostProcessing
xtassin Feb 2, 2022
7988b80
Replaced var with let to fix broken build. As a note, my local build …
xtassin Feb 2, 2022
3f8c64c
Merge remote-tracking branch 'origin/AtmospherePostProcessing' into A…
xtassin Feb 2, 2022
88e6946
Replaced let with const to fix broken build. As an other note, the su…
xtassin Feb 2, 2022
2cbb9d7
Update Apps/Sandcastle/gallery/AtmospherePostProcessing.html
xtassin Feb 3, 2022
5d59b67
Update Apps/Sandcastle/gallery/AtmospherePostProcessing.html
xtassin Feb 3, 2022
3b3a1a3
Update Source/Scene/PostProcessStageLibrary.js
xtassin Feb 3, 2022
d3a8507
Use Cesium.Ellipsoid.WGS84 to extract minimum earth radius instead of…
xtassin Feb 3, 2022
2d1ccbd
Merge remote-tracking branch 'origin/AtmospherePostProcessing' into A…
xtassin Feb 3, 2022
60c273b
Update Source/Scene/PostProcessStageLibrary.js
xtassin Feb 3, 2022
d8ed42f
Update Source/Scene/PostProcessStageLibrary.js
xtassin Feb 3, 2022
e6edce8
Use Cesium.Ellipsoid.WGS84 to extract minimum earth radius instead of…
xtassin Feb 3, 2022
5105a10
Merge remote-tracking branch 'origin/AtmospherePostProcessing' into A…
xtassin Feb 3, 2022
8b24499
Removed optional rendering effect to focus on the post processing sta…
xtassin Feb 3, 2022
0574bca
Update Apps/Sandcastle/gallery/AtmospherePostProcessing.html
xtassin Feb 3, 2022
5aefbc4
Refactor into SkyAtmosphere and GroundAtmosphere
sanjeetsuhag Feb 18, 2022
9fc97e4
New version
sanjeetsuhag Mar 4, 2022
ec9f928
Fixes atmosphere radius, intersection test
sanjeetsuhag Mar 7, 2022
340f5b5
Fixes radiiAndDynamicAtmosphereColor
sanjeetsuhag Mar 7, 2022
a44740c
Uses the Rayleigh color constants from Precomputed Atmosphere Scatter…
Mar 15, 2022
4fae116
Inverted opacity to show atmosphere color in sky atmosphere
Mar 15, 2022
5e3ea35
Fix tonemapping, HSB bug #1
sanjeetsuhag Mar 16, 2022
2dc72f3
Remove unused shader, adjust atmosphere intensity for GlobeFS
sanjeetsuhag Mar 17, 2022
a3df942
Fix fog blending, ground atmosphere intensity, per-fragment sky atmos…
Mar 23, 2022
4996add
Unifies fog and ground atmosphere in the shader
Mar 23, 2022
6a37c5b
Combines Fog and GroundAtmosphere
Mar 24, 2022
82185bb
Adds back HDR and color correction
Mar 24, 2022
1462cae
Fixes SkyAtmosphere radius
Mar 25, 2022
7070149
Fixes dynamic lighting adjustment in ground atmosphere's phase function
Mar 25, 2022
94c32cd
Attempted fix for SDR
Mar 25, 2022
bcef2e6
Fixes sky atmosphere rendering behind a translucent globe
Mar 28, 2022
ffc48d7
Fixes sky atmosphere with ground translucency
Mar 29, 2022
f8e5115
Fixes HSB color adjustment in Sky Atmosphere
Mar 29, 2022
887aa42
Adds distance adjustment to sky atmosphere
Mar 29, 2022
17836e6
Fixes radius for ground atmosphere, fixes black screen on zoom
sanjeetsuhag Apr 1, 2022
f2632d8
Merge branch 'main' of https://github.com/CesiumGS/cesium into Atmosp…
Apr 3, 2022
fa2cb4a
Fixes SkyAtmosphere alpha
Apr 3, 2022
7496315
Fixes ground atmosphere blending
Apr 3, 2022
a35faae
Implemented night fade in and out
sanjeetsuhag Apr 4, 2022
db2e90c
Cleanup SkyAtmosphere.js
Apr 4, 2022
8d1d525
Cleanup pass for GroundAtmosphere + Globe shaders
Apr 4, 2022
c9703c4
Constants cleanup for SkyAtmosphere
Apr 4, 2022
064a284
Merge branch 'AtmospherePostProcessing' of https://github.com/xtassin…
Apr 4, 2022
fe86a8c
Add back defines to SkyAtmosphere
Apr 4, 2022
841b353
Make night area brighter
Apr 4, 2022
d212951
Remove night based alpha for SkyAtmosphere
Apr 4, 2022
09c88b6
Adds ground translucency
Apr 5, 2022
d7cc388
Remove scattering post process
Apr 5, 2022
4bd456e
Removes AtmosphereScattering.glsl
Apr 5, 2022
64686a7
Add back night alpha, adjust default globe mix
Apr 8, 2022
b63e9ce
Remove Mie scattering check
Apr 8, 2022
79d1a98
Fix opacity on ground
Apr 8, 2022
de08c99
Added clarification for sky atmosphere adjustment in shader
Apr 11, 2022
e87781b
Moves groundAtmosphereModifier into a variable for clarity
sanjeetsuhag Apr 18, 2022
efbc073
Changes Rayleigh constant to fit between white and blue
sanjeetsuhag Apr 18, 2022
668ca47
WIP kernel merge
sanjeetsuhag Apr 18, 2022
0e88a6c
Change how ground atmosphere color is computed
sanjeetsuhag Apr 19, 2022
b42b89a
Adds public API for atmospheric scattering settings in Globe.js and S…
sanjeetsuhag Apr 19, 2022
cbda147
Adds Atmosphere Sandcastle
sanjeetsuhag Apr 19, 2022
4ad64ee
Removes redundant line from Sandcastle
sanjeetsuhag Apr 19, 2022
574865d
Fix UI in Sandcastle
sanjeetsuhag Apr 19, 2022
40f0f14
HDR saturation adjustments
sanjeetsuhag Apr 19, 2022
93e5bdc
Removes default SDR saturation, change the order of exposure adjustme…
sanjeetsuhag Apr 21, 2022
01dd213
Move transmittance modifier to variable for clarity
sanjeetsuhag Apr 21, 2022
affe536
Changed Rayleight coffiecient's Blue from 22.4 to 28.4
sanjeetsuhag Apr 21, 2022
0a4f944
Refactored the translucency adjustment out of the shared atmosphere code
sanjeetsuhag Apr 21, 2022
56eac60
Set translucent value to the default outside of the translucent block.
sanjeetsuhag Apr 21, 2022
2e5bad0
Documentation fix
sanjeetsuhag Apr 21, 2022
34f73c3
Clean up pass
sanjeetsuhag Apr 21, 2022
e157cf5
Improves documentation
sanjeetsuhag Apr 22, 2022
7ed519c
Fix inconsistency in fragment shader light source for sky atmosphere
sanjeetsuhag Apr 22, 2022
ca261e5
Added toggle for SkyAtmosphere in Sandcastle
sanjeetsuhag Apr 22, 2022
ac3408f
Combines Atmopshere Sandcastle with Ground and Sky Atmosphere Sandcas…
sanjeetsuhag Apr 22, 2022
88ef353
Removes Ground Atmosphere and Sky Atmosphere Sandcastles
sanjeetsuhag Apr 22, 2022
8c0955f
Merge branch 'main' of https://github.com/CesiumGS/cesium into Atmosp…
sanjeetsuhag Apr 22, 2022
f5b5beb
Added entry in CHANGES.md
sanjeetsuhag Apr 22, 2022
47d1d86
Remove old links [skip ci]
lilleyse Apr 22, 2022
e5d8196
Add tabbed view for Atmosphere sandcastle
sanjeetsuhag Apr 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,038 changes: 1,038 additions & 0 deletions Apps/Sandcastle/gallery/Atmosphere.html

Large diffs are not rendered by default.

Binary file added Apps/Sandcastle/gallery/Atmosphere.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
234 changes: 0 additions & 234 deletions Apps/Sandcastle/gallery/Ground Atmosphere.html

This file was deleted.

Binary file removed Apps/Sandcastle/gallery/Ground Atmosphere.jpg
Binary file not shown.
157 changes: 0 additions & 157 deletions Apps/Sandcastle/gallery/Sky Atmosphere.html

This file was deleted.

Binary file removed Apps/Sandcastle/gallery/Sky Atmosphere.jpg
Binary file not shown.
Loading