You are not logged in.
Pages: 1
Which color format, is best for reflective parts? (a.k.a formats with an alpha channel).
Currently I'm using the format; bgra5551.
But it seems to mess the texture slightly, even when I save the images in 16-bit.
Offline
Rexxar: Can you post an example of how the texture is messed up.
Offline
Try DXT1
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Rexxar: As Gumby stated for the textures that do not have alpha channels, use DXT1, that will give you the larger depth of colors. bgra5551 has a smaller range of colors, that's why you get the splotches. More specific details can be found in this thread: http://oni.bungie.org/community/forum/v … id=400&p=3
Offline
DXT1 dosen't seem to work, it makes the whole part shiny, and does the texture even more messy (if that's a word ).
What about a format in something like 24-bit and 1 for alpha?
I guess OniSplit dosen't support such..
Last edited by TOCS (06/29/09 06:06)
Offline
Onisplit supports whatever Oni does.
You have a choice of: [-format:bgr32|bgra32|bgr555|bgra5551|bgra4444|dxt1]
bgra32 might be what you need.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Rexxar: Use DXT1 on the textures that do not have an alpha channel. For example the original Ninja's calf textures are DXT1. For the textures that have an alpha channel then you need to use brga5551
Offline
Whats wrong with bgra32?
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Its not supported by OniSplit:
enum TXMPFormat
ARGB4444 = 0
RGB555 = 1
ARGB5551 = 2
RGB888 = 8
DXT1 = 9
Offline
Ahh, it is apparently supported by Onisplit but not Oni.
In any case 5551 is the best option.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Hmmm, okay, I guess I'd paint my textures in more regular colors so the matches aren't so different..
But would it be possible to import other formats to Oni, in the furture?
Offline
Hmm...doubtful. I don't know. You need to find a program that saves the images in the proper format, I guess.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Okay, thanks for the advice, both of you!
Offline
EdT: I think I'll just use BGR32/RGB32 for the textures that aren't shiny.. As it's 32-bit.
The DXT1 looks like it's only 16- 24-bit. Let's hope that there will be some way around the problem..
Offline
Pages: 1