-
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
Update gltf Pipeline and support KHR_techniques_webgl and KHR_blend #6805
Merged
Merged
Changes from 53 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
be6fffa
Update gltf pipeline files and support KHR_techniques_webgl and KHR_b…
ggetz 9d907df
Cleanup
ggetz e82b4b6
Doc edits
lilleyse 395eb34
Minor cleanup
lilleyse 173f4b5
Cleanup model with new gltf-pipeline
ggetz 923874b
Simplify render states
ggetz 7abc5c7
Fix ClassificationModel, factor out duplicate code
ggetz 1e5d67f
Various gltf cleanup
ggetz 58f99b4
Merge branch 'master' into gltf-update-pipeline
ggetz 6de38fe
alphaCutoff uniform, attribute location fix
ggetz 5651d79
Update gltf-pipeline
ggetz c098115
Update pipeline, resolve material errors
ggetz be83cc2
Remove pipeline extras where possible
ggetz 681aa24
Fix model caching, cleanup forward axis, cleanup specs
ggetz c0db13d
Fix docs, use gltfPipeline removePipelineExtras
ggetz c69505b
Cleanup eslint error
ggetz a7a4ced
Fix render states
ggetz 514c2b7
Discard instead of blend for alphaMode MASK
ggetz 71ff4c4
Cleanup eslint error
ggetz ccad16c
Add KHR_materials_unlit to list of supported extensions
b136052
Turn off lighting when detects unlit extension
7a9faa7
Updated changes.md
c56a339
Ignore unlit and occlusion when unlit
21caa93
Remove log and fix formatting
7c28d2a
Added test for unlit
ba4d840
Moved BoxUnlit to its own folder
db96ceb
Added KHR_materials_pbrSpecularGlossiness to supported extensions
ca4dc6c
Add support for spec gloss
f3afd01
Moved changes.md text into October release
0d8a577
Merge branch 'master' into gltf-update-pipeline
ggetz 6401433
Added BoomBox SpecGloss model
3dad95a
Updated old boom box model
6d8e5dc
Added entry to CHANGES.md
974af0d
Merge branch 'gltf-update-pipeline' into gltf-unlit
lilleyse 604400d
Merge pull request #6977 from OmarShehata/gltf-unlit
lilleyse 602db48
Merge branch 'gltf-update-pipeline' into specgloss-ext
OmarShehata 73db740
Fixed linting
5fb072e
Emackey's feedback
d97b899
Rename to processPbrMaterials.js
fcd4433
Added spec gloss tests
e59593a
Add one more test
67ef702
Update gltf-pipeline
ggetz 22cc546
Update axis based on version before update
ggetz 4ec829c
Fix model specs
ggetz 3cc7c98
Add additional tests
ggetz 5b94577
All glTF materials are PBR by default
05ef68d
Fix merge conflict
0e63533
Fix failing tests
3cad9ea
Merge branch 'master' into gltf-update-pipeline
ggetz b137ab4
Update CHANGES.md
ggetz 2de8d69
Simplify check for PBR materials
4d5d53f
No need to account for glTF 1.0
e88ac9d
Merge pull request #7006 from OmarShehata/specgloss-ext
lilleyse 88ebec6
Fix glTF 1.0 asset version and no mesh edge cases
ggetz 4c168a9
Fix modelInstanceCollection spec
ggetz 015e700
Update model specs
ggetz e5e495c
Clean up after test
f78b4f5
Added expectations to spec gloss tests
125c36f
Use defaultValue
fb69626
2 -> 2.0
c0eaf28
Merge pull request #7050 from OmarShehata/gltf-update-pipeline
ggetz 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
2 changes: 1 addition & 1 deletion
2
...y/GltfPipeline/webGLConstantToGlslType.js → Source/Core/webGLConstantToGlslType.js
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
define([ | ||
'../../Core/WebGLConstants' | ||
'./WebGLConstants' | ||
], function( | ||
WebGLConstants) { | ||
'use strict'; | ||
|
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
Oops, something went wrong.
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.
It's probably worth doing a pass over the documentation to fix some of the existing problems like:
KHR_binary_glTF
extension@exception {DeveloperError} bgltf is not a valid Binary glTF file.
@exception {DeveloperError} Only glTF Binary version 1 is supported.
@param {Object|ArrayBuffer|Uint8Array} options.gltf The object for the glTF JSON or an arraybuffer of Binary glTF defined by the KHR_binary_glTF extension.
- only binary glTF is supported.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.
Also for
Model
andModel.fromGltf
.