Skip to content

chore(shadertools); Add uniforms for pbrMaterial extensions #2394

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ibgreen-openai
Copy link
Collaborator

For #

Background

This PR adds the necessary uniforms to the pbrMaterial shader module to be able to pass parameters coming from the glTF material extensions (KHR_materials_*). This includes uniforms for specular, ior, transmission, volume, clearcoat, sheen, iridescence, anisotropy, etc. Additionally the corresponding defines (HAS_SPECULARCOLORMAP …) and extra samplers are made available in GLSL/WGSL.

Change List

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants