![]() |
[fixed] Material is invisible if environment is enabled - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12) +--- Thread: [fixed] Material is invisible if environment is enabled (/showthread.php?tid=3119) |
[fixed] Material is invisible if environment is enabled - markie - 06-14-2023 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. ![]() Wings3D 2.2.9 x64. Windows 10 x64. RE: Material is invisible if environment is enabled - micheus - 06-17-2023 Yeah. That should be ok in the upcoming release. Dan is working on it. RE: Material is invisible if environment is enabled - markie - 06-19-2023 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) ![]() RE: Material is invisible if environment is enabled - dgud - 06-20-2023 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. RE: Material is invisible if environment is enabled - markie - 06-20-2023 Interesting. Thank You for the explanation. ![]() |