-
Notifications
You must be signed in to change notification settings - Fork 511
Transparency "glass effect" is broken #522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This has been discussed several years ago and there is no simple way to support high-quality transparency (you have to carefully sort solids before rendering them). Fixing this will require redesigning the entire rendering pipeline, which is an amount of effort inordinate with the usefulness of the transparency feature. Therefore this will not be fixed. |
We can make reordering of triangles with opacity materials to be in the last place inside triangle list of the mesh. Also, we can switch off zwrite for opacity objects and probaby switch off backface culling for them. |
If I had known when introducing it that transparent meshes were so complicated I would not have done it in the first place. (I understood very little about graphics programming at the time.) I certainly have never intended for this feature to eventually require a major rearrangement of the rendering code... |
As I know, @leozide already did a lot of work in LeoCAD for correct render mesh in same situation. |
Reopening because of #977 |
System information
Expected behavior
Opaque solids should be shown throw half-transparent solid as throw "glass".
Actual behavior
Mesh faces of opaque solids inverted under half-transparent solid
In same time another half-transparent solid, placed under half-transparent, is fully invisible
Additional information
For bugs, please attach a savefile that shows the problematic behavior.
You can attach
.slvs
files by archiving them into a.zip
first.The text was updated successfully, but these errors were encountered: