Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Incorrect transparency? #2

@Astralcircle

Description

@Astralcircle

For some reason transparent colors are rendered less transparent than they should actually be

local rndx = include("rndx_lib.lua")

hook.Add("HUDPaint", "Test", function()
    draw.RoundedBox(5, 100, 100, 100, 100, Color(0, 0, 0, 200))
    rndx.Draw(5, 500, 100, 100, 100, Color(0, 0, 0, 200))
end)

Left - draw.RoundedBox, Right - RNDX
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions