AcademySoftwareFoundation / AcademySoftwareFoundation/MaterialX
Default color causing issue when missing opacity texture
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.3k
- Forks
- 464
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 12
Description
When a texture cannot be found the result for that input is the default value which is currently 0. This causes issues for Standard Surface materials when the opacity texture map is missing. The (0, 0, 0) opacity value causes the material to become transparent. This is seen both when viewing the material in the Viewer and baking out the textures.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the missing-opacity-texture case in the Viewer and during texture baking, then trace how the default value is supplied for that input. Done means Standard Surface materials no longer become transparent in either workflow when the opacity texture is missing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100