Autodesk / Autodesk/standard-surface

ND_surface should have color opacity

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
348
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Currently opacity is defined as a `float` in `ND_surface`. There are many use cases (stained glass) where it would be good to have opacity defined as a `color3`.

There's even a documented work-around in `standard_surface.mtlx` to convert the incoming color to a scalar value. Full color opacity is needed to reproduce the standard surface faithfully.
```



```
It's easy to get a scalar value out of a color, it's not possible to get a color out of a scalar.

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.