708
edits
No edit summary |
No edit summary |
||
Line 577: | Line 577: | ||
To make things simpler here's a new version: [http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/OniSplit_v0.8.14.zip OniSplit v0.8.14]. It automatically switches to bgra4444 if the input texture is bgra32. One can still specify bgra5551 if needed. In addition to this I fixed a bug that caused bad mipmap generation for textures with alpha channel. | To make things simpler here's a new version: [http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/OniSplit_v0.8.14.zip OniSplit v0.8.14]. It automatically switches to bgra4444 if the input texture is bgra32. One can still specify bgra5551 if needed. In addition to this I fixed a bug that caused bad mipmap generation for textures with alpha channel. | ||
[[User:Neo|Neo]] | |||
On a second thought: [http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/OniSplit_v0.8.15.zip OniSplit v0.8.15]. The TGA files I export are always in Bgra32 format so this means they will always be autoconverted to Bgra4444 which is not ideal. Also detecting if a TGA file has an alpha channel or not is not very reliable. | |||
The end result is that one needs to specify a texture format when creating TXMP files no matter what. That is: | |||
*bgr555 (or dxt1) for most of the stuff | |||
*bgr32 for skyboxes | |||
*bgra4444 for transparent/reflective stuff (in a couple of places bgra5551 is used but probably it's not big deal if bgra4444 is used instead) | |||
[[User:Neo|Neo]] | [[User:Neo|Neo]] |
edits