Have a look at the SDL_SetTextureColorMod and SDL_SetTextureAlphaMod functions…________________________________
From: JeZ-l-Lee
To: sdl at lists.libsdl.org
Sent: Tuesday, August 13, 2013 7:37 AM
Subject: [SDL] [SDL2]-Change Texture’s Color Hue(RGB) & Transparency(A)?
[SDL2]-Change Texture’s Color Hue(RGB) & Transparency(A)?
Hi,
How would I change a texture’s color hue(RGB) & transparency(A)?
I think I saw it mentioned some time ago, but can’t find the SDL2 function.
Thanks!
JeZ+Lee
JessePalser Gmail com
16BitSoft®
Video Game Design Studio www.16BitSoft.com
Jonny DOn Tue, Aug 13, 2013 at 10:39 AM, Mason Wheeler wrote:
Have a look at the SDL_SetTextureColorMod and SDL_SetTextureAlphaMod
functions…
From: JeZ-l-Lee To: sdl at lists.libsdl.org Sent: Tuesday, August 13, 2013 7:37 AM Subject: [SDL] [SDL2]-Change Texture’s Color Hue(RGB) & Transparency(A)?
[SDL2]-Change Texture’s Color Hue(RGB) & Transparency(A)?
Hi,
How would I change a texture’s color hue(RGB) & transparency(A)?
I think I saw it mentioned some time ago, but can’t find the SDL2 function.