01-25-2023, 09:59 PM
(01-24-2023, 03:10 PM)TempodiBasic Wrote: @Terry a feedback on alpha channel
on the right the demo 5 in which the alpha 0 has been set on _rgb32(0) (because in my pictures the background to be transparent is black).
_RGB32(0) is not valid. Remember, _RGBA32(0,0,0,0) and _RGB32(0) are not the same. _RGB32(0) returns the value of 4278190080 because _RGB32(0) is actually 255,0,0,0 (11111111000000000000000000000000) 11111111 = Alpha, 00000000=Red, 00000000=Green, 00000000=Blue.