how to share texture between same wmb levels

Posted By: Arrovs

how to share texture between same wmb levels - 11/30/13 07:03

Im using wmb cubes who i dinamically load into level, but i see enormous memory growth and i have feeling that every block loads its own texture even so mostly of them have same ones.
I want to know if there is possibility to share them like models can do that.
Or tere is second choise i could use model as cube and put texture on it, but how i could make it not locked as it is with wmb cube textures.
Posted By: txesmi

Re: how to share texture between same wmb levels - 11/30/13 09:01

Hi,
look for 'tex_share'

Salud!
Posted By: Arrovs

Re: how to share texture between same wmb levels - 11/30/13 09:14

I didnt found such thing in WED. So i tried mdl cube and put texture on it.
Changed consumed memory from 140-200MB to 28-35MB. Its huge leap.
But now i dont know hot to tell shader to put texture in world coords like it happens in wmb before texture locking.
Posted By: sivan

Re: how to share texture between same wmb levels - 12/01/13 16:44

set it by script. http://www.conitec.net/beta/atex_share.htm
© 2024 lite-C Forums