forked from AcademySoftwareFoundation/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add EsslShaderGenerator and Three.js based sample app (JsMaterialXVie…
…w) (#1244) * Rough GLES generator setup. * Fix incorrect target inheritance. * fixed copying of library folder * initial materialx web viewer implementation with dummy shader (#1207) * Adapt ESSLShaderGenerator for WebGL2 (#1211) * Minimize required code changes between Glsl and Essl shadergen by exposing more `emit` functions * Get correct vertex prefix for Essl in the node implementations. * Update three js sample to render standard_surface_default material Co-authored-by: dunkels <sebastian.dunkel@autodesk.com> Co-authored-by: kohakukun <aura.munoz@autodesk.com> * fix: Cleanup essl context for new documents (#1226) Co-authored-by: kohakukun <aura.munoz@autodesk.com> * fix: Add explicit casting for switch statement (#1227) Co-authored-by: kohakukun <aura.munoz@autodesk.com> * clean up, add entry for Essl shader generation option to Viewer.md (#1228) * fix: stdlib explicit cast for essl compatibility (#1229) * add precission to vertex shader * fix: Add explicit cast for ess compatibility * address comments * quick fix Co-authored-by: kohakukun <aura.munoz@autodesk.com> * Enable mipmap generation for JsMaterialXView (#1242) * Throw if EsslShaderGenerator has access to a resource binding context (#1230) * clean up (#1247) * clean up pass 2 Co-authored-by: bernardkwok <bernard.kwok@autodesk.com> Co-authored-by: dunkels <sebastian.dunkel@autodesk.com> Co-authored-by: Sebastian Dunkel <sdunkel@users.noreply.github.com> Co-authored-by: kohakukun <aura.munoz@autodesk.com> Co-authored-by: Aura Munoz <paraprogramar@gmail.com>
- Loading branch information
1 parent
e6c8c39
commit f21a4db
Showing
55 changed files
with
2,456 additions
and
185 deletions.
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
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
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
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
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
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
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
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.