XML:TXMP: Difference between revisions

84 bytes added ,  12 October 2021
Adding info about non-power-of-two textures. I've checked it during 'Engine demo' creation.
m (wording; no need to sign non-talk pages, we will use the page history to see who did what :-))
(Adding info about non-power-of-two textures. I've checked it during 'Engine demo' creation.)
Line 4: Line 4:
* The XML on this page was tested with OniSplit '''v0.9.61.0'''.
* The XML on this page was tested with OniSplit '''v0.9.61.0'''.
* Textures' X and Y dimensions must be powers of two: 512, 256, 128, 64, etc. (The TXMPs used to compose [[XML:TXMB|TXMBs]] seem to be an exception.)
* Textures' X and Y dimensions must be powers of two: 512, 256, 128, 64, etc. (The TXMPs used to compose [[XML:TXMB|TXMBs]] seem to be an exception.)
** But engine really supports non-standard textures, such as 512x288, 256x144, etc.
** However the height and width don't need to be equal, e.g. you can use 128x256.
** However the height and width don't need to be equal, e.g. you can use 128x256.
* The camera can look at 2049 transparent textures at once; one more, and Oni crashes.
* The camera can look at 2049 transparent textures at once; one more, and Oni crashes.
182

edits