Holograms with certain materials do not draw in the correct order
Holograms do not always draw in the correct order relative to each other. Specifically what I and some others have discovered is that materials with both the $additive and $translucent flags do not render over any opaque holograms behind them. (Materials that have only one of these flags seem to render correctly.) This pertains to both server- and client-side holograms.
May be more complex (do other combinations of material parameters cause similar issues?)
This belongs in garrysmod-issues or something
Do you have a test chip we can use to see the issue?
I will make one right now.
It appears that I was mistaken about something before -- I'm not sure how I got the idea, but in actuality, it seems that additive and translucent materials (and not just those with both flags) suffer from this issue. I may have mixed up the translucent flag with the alpha test flag, or maybe I had a different backdrop (hologram on top of a prop vs hologram on top of a hologram)
Top row: Additive
Middle row: Translucent
Bottom row: Additive + Translucent
Left column: Holograms, but with RENDERFX DISTORT, which (alongside RENDERFX HOLOGRAM), is the only thing i've discovered which actually fixes the draw order)
Middle column: Holograms
Right column: Props
I should have studied the issue more before, it runs deeper than I thought. Here is the test chip's file: https://pastebin.com/HSKMeb9r Results are the same regardless of what realm the holograms are created in.