Wings 3D Development Forum

Full Version: [fixed] Material is invisible if environment is enabled
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If the opacity of the material is lower than 0.86 it is not rendered in smooth shading with environment enabled, unless there is another object behind.

[Image: opacity-bug-2.png]

Wings3D 2.2.9 x64.
Windows 10 x64.
Yeah. That should be ok in the upcoming release. Dan is working on it.
Quote:Dan is working on it.
That's good news.

Out of curiosity, I wanted to ask why exactly this number? (0.86/0.85)

[Image: breaking-point.png]
I render transparent faces in several passes, to get decent result without sorting (in view dir) every transparent face I partition transparent faces in two groups, almost transparent and almost opaque.
So I chose a value that I thought was ok: > 0.85 is opaque.

Simplified wings render:
almost transparent objects
almost opaque objects
opaque objects

Since wings is a modeler and not a render tool, we need to find a decent and fast approximation,
and rendering transparent objects without raytracing (or sorting) is hard.

The current solution is the best I have come up with so far, there will always be corner cases that
just don't work. If someone can come up something better it would be great.
Interesting. Thank You for the explanation. Smile