garrysmod-requests icon indicating copy to clipboard operation
garrysmod-requests copied to clipboard

surface lib, draw true color

Open Be1zebub opened this issue 1 year ago • 3 comments
trafficstars

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.

Be1zebub avatar Dec 16 '23 16:12 Be1zebub

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

garryspins avatar Dec 17 '23 00:12 garryspins

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

Be1zebub avatar Dec 17 '23 10:12 Be1zebub

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

robotboy655 avatar Mar 28 '24 03:03 robotboy655