drwave / usd-sketchup

Source & macOS binary of USD exporter for SketchUp
Other
63 stars 5 forks source link

alpha of texture should be mapped to opacity in PreviewSurface #13

Closed drwave closed 5 years ago

drwave commented 6 years ago

Currently, only the rgb from the Texture Shader is wired into the PreviewSurface. We should also output a, and wire that to opacity.

i.e. add float outputs:a

to the Texture shader and then wire up opacity to it in the PreviewSurface.

drwave commented 5 years ago

fixed.