Search Unity

Custom geometry memory duplication

Discussion in 'Wish List' started by naxel, Apr 5, 2013.

  1. naxel

    naxel

    Joined:
    Sep 12, 2012
    Posts:
    14
    I used to generate secondary uv-set on some of my meshes to precompute values derived from initial geometry. I make this using AssetPostProcessor.OnPostprocessModel(...).
    After this manipulation my mesh use 2x memory in run-time, because it's treated as dynamic geometry (gpu and main memory copy). To avoid problems like this Unity can support method which removes main memory copy by user request at least for editor.