Facepunch / sbox-issues

180 stars 12 forks source link

filter: drop-shadow colors are inaccurate in world panels #7504

Open trundlr opened 6 days ago

trundlr commented 6 days ago

Describe the bug

In Grubs, we have drop-shadows with colors that should be much darker than the panel it is shadowing. Anything but black seems to give a much lighter version of the color than expected.

As an example, here is the GrubVitals using the same color as the background, but they appear very differently.

Image

To Reproduce

  1. Clone Grubs
  2. Mess around with the filter: drop-shadow on the .vitals-parent class.
  3. Observe colors being washed out and lighter than expected.

Expected behavior

Colors for filter: drop-shadow match the colors for the rest of the world panel.

Media/Files

No response

Additional context

No response