AcademySoftwareFoundation / AcademySoftwareFoundation/MaterialX

Default color causing issue when missing opacity texture

Open
#2,108 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.