VBBR
Moderator
Brazil
617 Posts |
Posted - May 05 2004 : 10:45:49 AM
|
The position of the "A" .
Well, pratically it's, if the function comes in the order ARGB then you put it in the order, Alpha, Red, Green, Blue. If it's RGBA then you put it Red, Green, Blue, Alpha. Pretty obvious.
|
Whatever. Who knows... |
|
|
EACam
Warrior
154 Posts |
Posted - May 05 2004 : 10:59:36 AM
|
Ok, so it doesn't matter which i use? If i have Color As Long then I can just say Color = D3DColorRGBA(R, G, B, A) or Color = D3DColorARGB(A, R, G, B) and both will work? Cool. |
|
|
Eric Coleman
Gladiator
USA
811 Posts |
Posted - May 05 2004 : 11:12:00 AM
|
Actually, the byte order is different, and I think you need to make sure that the byte order of the colors you use is the same as the surface that you're using them on. |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - May 05 2004 : 1:07:24 PM
|
...since a Long is 4 bytes, then the bytes would be A R G B in this order, or R G B A, in this order.
It really depends on WHAT you are applying the color on. |
Whatever. Who knows... |
|
|
EACam
Warrior
154 Posts |
Posted - May 05 2004 : 3:48:54 PM
|
ok...
now i have another thing to worry about.
i spose trial and error is the key. |
|
|
sdw
Warrior
USA
160 Posts |
Posted - May 05 2004 : 8:12:27 PM
|
there really isn't a lot of info about this on the net :\
|
|
|
sdw
Warrior
USA
160 Posts |
Posted - Jul 06 2004 : 10:54:16 AM
|
quote: I'm sorry, my engine was designed in directx 8, and I used the specular to brighten the colors...
Ok, how do I do that then? |
|
|
sdw
Warrior
USA
160 Posts |
Posted - Jul 06 2004 : 11:40:23 AM
|
Nevermind, I guess it helps to enable the specular. |
|
|