KhronosGroup / KhronosGroup/UnityGLTF

Saving a list of Materials instead of per-Renderer fundamentally ignores MaterialPropertyBlocks

Open
#417 1 comment 0 reactions 1 assignee Claimed by @hybridherbst View on GitHub
Dominant language
C#
Stars
2.2k
Forks
536
PR merge metrics
No merged PRs in 30d

Description

Since only the material is passed into the "ExportMaterial" method, and not the renderer, all MaterialPropertyBlocks on that Renderer are ignored. That means that scenes where MaterialPropertyBlocks are used (which are many, since this is the preferred way to re-use materials between objects with different cbuffers) export incorrectly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.