Hello,
Is there a way to replace a color by another one without changing the image data. is there a function to replace the current color palette or to replace the white color (for exemple) by a red color ?
Thanks,
Ludovic.
Hello,
Is there a way to replace a color by another one without changing the image data. is there a function to replace the current color palette or to replace the white color (for exemple) by a red color ?
Thanks,
Ludovic.
Not directly, but you could write a shader that does that for you.
A long time ago, i remember having done a world with a “bumpmap” (bitmap black/white). by using color3f(), the bumpmap was automatically changing to the color given in color3f().
I’m trying to do it again but with no succes :-(.
Is there a specific glEnable() to call or something to configure to do this ? (or maybe i’ve activated something which doen’t work with it ?)
(could it works with transparent .tga ?)
It is perhaps possible to fake it.