Facepunch / garrysmod-requests

Feature requests for Garry's Mod
86 stars 24 forks source link

surface lib, draw true color #2241

Open Be1zebub opened 11 months ago

Be1zebub commented 11 months ago

surface.DrawRect renders the wrong colors, eg u can compare it with render.Clear which works correctly. I would like to request the addition of a function that would render the correct colors. Rn it's a real torment when you try to render something that is darker than rgb 50, you have to manually add the offset so that the result looks like a design document.

garryspins commented 11 months ago

Just tested this and i seem to be encountering this too, this is an extremely strange problem, please fix

Be1zebub commented 11 months ago

There is few hacks to solve it https://discord.com/channels/565105920414318602/589120351238225940/1095348203253153983 https://discord.com/channels/565105920414318602/589120351238225940/1095587447863250984 but it would be better to have native solution

robotboy655 commented 8 months ago

This is basically duplicate of https://github.com/Facepunch/garrysmod-issues/issues/2807