RE: Transparent sticker colours
2025-09-15, 19:38 (This post was last modified: 2025-09-15, 19:41 by Roland Melkert.)
2025-09-15, 19:38 (This post was last modified: 2025-09-15, 19:41 by Roland Melkert.)
(2025-09-14, 13:54)Magnus Forsberg Wrote: How come the transparent colours aren't visible from the backside?
Like Travis wrote, this is a z-sorting thing.
With LDCad I made the decision to do part level sorting only. Meaning it will sort and then draw (partial)transparent parts from back to front.
But with parts like this one that's not good enough in regards of the order of polygons in the part itself.
The decision was mostly about speed because it gave a decent result for most parts while being almost 'free' load wise.
With modern hardware you can do things like shader per pixel z-sorting. Then you don't have worry about the draw order at all. But that's something for the 2.0 rendering engine.
The transparent dual sided lighting option mentioned above was to somewhat improve rendering of these parts.
But things might still look weird because colour blending is also order depended.
