Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: TrashMan on July 30, 2007, 08:17:54 am
-
a) lots of really small textures (biggest one is 180x180, but the dimensions varry - like 160x160 or 64x64 )
b) one larger textures that incorporates these smaller ones in it (liek 256x256 or even bigger)
I'm asking becouse I though that insted of using a dozen small textures for turrets, I can just make one what will be used on a dozen different turrets models..
-
For HTL, one large one.
-
Well, at the moment, because of the way subsystems are rendered, it's all much of a muchness from what I understand, there's little difference in performance, however, in the future, it will be best to use one larger texture.
-
As Flipside said, it's not going to help performance much at the moment. That will change though with future code upgrades. The main benefit now is to reduced memory usage on the video card and helping to reduce texture swaps. Eventually the code should be able to organize rendering better to reduce state/texture changes, and that's where the big benefit will come in with you using the larger and fewer textures.
-
b, hands down. a is how they did things in pre-htl engines.
-
Thanks you very much :nod: