Gilles Tran wrote:
> Changing the number of faces doesn't affect the memory use, so instanciation
> works as it should.
> I guess it's the texture statement as it's defined for each tile. Removing
> all the individual statements cuts the memory use in half.
> One possibility to solve this would be to use the cells pattern to cover the
> entire mesh instead of texture each tile independently. Just scale the
> pattern to match the tile size.
> Great macro by the way, it should be very handy.
Thanks for hints Gilles!
I'll try to modify the macro.
Gena.
Post a reply to this message
|