Nuklear icon indicating copy to clipboard operation
Nuklear copied to clipboard

Is there a way to recolor an image element

Open electrolys opened this issue 3 years ago • 3 comments

i need a way to multiply(?) an image element (specifically an image_button) by a color and i can't seem to find out if that's possible

electrolys avatar Sep 18 '22 20:09 electrolys

Multiply?

RobLoach avatar Sep 20 '22 19:09 RobLoach

basically how i would do it in a shader is multiply the texture color with a vertex color is what i mean

electrolys avatar Sep 21 '22 18:09 electrolys

I think that's out of scope of Nuklear. Perhaps handle that in your renderer? Or change the image you're using?

RobLoach avatar Apr 19 '24 14:04 RobLoach