-
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
Enables WebGL 2 by default #10894
Merged
Merged
Enables WebGL 2 by default #10894
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
b2229c9
Shader ugprade to GLSL 300
sanjeetsuhag d1f4570
JS Shader upgrade to GLSL 300
sanjeetsuhag 48452e4
WIP ShaderSource mods
sanjeetsuhag a9e6aed
WIP demodernizeShader
sanjeetsuhag f052a02
Merge branch 'watched-files-fix' of https://github.com/CesiumGS/cesiu…
sanjeetsuhag 4bb5854
Gets globe rendering with WebGL1 with demodernizeShader
sanjeetsuhag b2b5870
Fixes OIT.js shaders
sanjeetsuhag 273b019
More JS fixes for OIT and MRT
sanjeetsuhag 9cd404a
WebGL 1 spec fixes
e635196
More WebGL 2 shader migration
sanjeetsuhag 1dd66d0
Gets WebGL 1 tests passing
sanjeetsuhag 24ec5a5
WebGL2 Spec migration
sanjeetsuhag 11c0970
Fixes CloudCollection shaders for WebGL2
sanjeetsuhag b38d3bd
More WebGL 2 spec fixes
sanjeetsuhag 354ef3f
Shader spec compilation fixes
fd57848
More spec fixes
d474433
Spec cleanup
86ac727
Fix pickColorQualifier in ShadowVolumeAppearance.js
sanjeetsuhag 51fcaa4
Fix accidental substitutions in I3SNodeSpec
sanjeetsuhag ce953c3
Merge branch 'main' of https://github.com/CesiumGS/cesium into webgl2…
sanjeetsuhag ee4fa0e
Removes WebGL 1 specs
sanjeetsuhag a5dc2ed
Merge branch 'main' of https://github.com/CesiumGS/cesium into webgl2…
sanjeetsuhag 86bebe1
More Spec changes for WebGL2 specific specs
sanjeetsuhag 566a0ee
More spec fixes
sanjeetsuhag 6679cd7
Fixes ShaderSource functions
sanjeetsuhag 33607ae
Fixes Sandcastles for WebGL2
sanjeetsuhag 6e7cf1a
Fix spec failures for WebGL stub
sanjeetsuhag 4a7a9b6
Feedback pass
sanjeetsuhag 318283c
Merge branch 'main' of https://github.com/CesiumGS/cesium into webgl2…
sanjeetsuhag 38de151
Upgrade voxel code to GLSL 300
sanjeetsuhag c5c4123
Merge branch 'main' of https://github.com/CesiumGS/cesium into webgl2…
sanjeetsuhag 9001fdf
Removes modernizeShader
sanjeetsuhag 1cec0d0
Spec fixes
sanjeetsuhag b8bddb3
Fix WebGL1 fallbacks for gl_FragDepth
ea0dda6
Add comments and clean up in OIT.js
48872d2
Fix out_FragData references in DebugInspector
04a6be0
Assume standard derivatives are supported
7a1b729
Restore fallbacks for no standard derivatives
ef1c287
Fix ElevationBandMaterial in WebGL2
350b017
Update error message in PostProcessStage
246631c
Fix pixelFormat in Megatexture.js
2302c48
Merge branch 'main' into webgl2-default
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Does
Megatexture.js
need similar treatment here? It's the only other place I noticed whereLUMINANCE
andLUMINANCE_ALPHA
are being used withFLOAT
datatype.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 @lilleyse! Yes, it did need a similar fix: