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

GLTF loader improvements #4

Open
igagis opened this issue Aug 15, 2024 · 0 comments
Open

GLTF loader improvements #4

igagis opened this issue Aug 15, 2024 · 0 comments
Assignees

Comments

@igagis
Copy link
Member

igagis commented Aug 15, 2024

For simpler .glb model preparation need to support:

  • when metalness/roughness/ambient_occlusion is defined in .glb file as a single value (not texture), need to support that
  • combine metalness/roughtness/ambient_occlusion separate textures into a single arm texture if glTF file defines separate textures for those (because PBR shader requires singel arm texture as input). Green channel = roughness, Blue channel = metalness, Red channel = ambient_occlusion (see glTF spec).
  • use exported tangents if present
@igagis igagis self-assigned this Aug 15, 2024
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

No branches or pull requests

1 participant