Am Mittwoch, 21. Februar 2007 schrieb Per Inge Mathisen: > On 2/21/07, The Watermelon <[EMAIL PROTECTED]> wrote: > > 4.frequent texture binds > > ... > > > Any hints/ideas/comments? :) > > This would seem the easiest to improve. We can cram much more textures > into our texture atlases by making them larger. Then we need to switch > between them less often. They are currently fixed at 512x512. > Unfortunately, just increasing the > > #define PAGE_WIDTH 512 > #define PAGE_HEIGHT 512 > > defines in src/textures.c won't do ;-). I suspect this value is > hard-coded or assumed in several places in the code. It is. Especially the terrain renderer needs to be adjusted, since it assumes a specific number of tiles to be in a texture page.
--Dennis
pgpY81YgzGXny.pgp
Description: PGP signature
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
