When creating textures for a game environment, I understand a lot of objects get independent textures (IE Weapons,Characters,etc) but I was wondering when I should SHARE the textures. Is that just when creating large buildings that use the largest textures? Or is it in general, IE this small lamp should try and share the same metal texture as this barrel to optimize game performance! Just trying to wrap my head around what needs to be shared and what can go with being its own individual texture. It can be tricky to make the texture feel different when in reality it is the same!
Replies
im so lost!
If you can't, don't do it.
Depends on what you're treating as a hero piece vs a spammable piece as well.
To be more specific, we'd have to see what your plan is, what you're working on, etc.
"Is that just when creating large buildings that use the largest textures?"
If you are referring to try and smash an entire building (say COD level where you are inside a building), and you want to put almost everything into 1 texture, again if there are seconds/minutes worth of frames where only 20% of the 100% props used in the level, then why would you waste GPU time binding textures that wont be used. Not sure if this is what you meant. It also makes editing things a hassle. If they are truly separate props, what if a level designer only wants one of them? they have a texture that stores a 2nd prop that isn't used on their new level. How do you manage those assets as well. Do you call it LampAndBarrel.jpg?