Company of Heroes: Eastern Front

Eastern Front Mod (Read-Only) => Suggestions => Topic started by: Pfuscher on November 11, 2013, 05:18:12 PM

Title: Alpha and blacken non used texture parts
Post by: Pfuscher on November 11, 2013, 05:18:12 PM
EF has dozens of textures where the not used part isn't blackened nor alphad out.
You could save a lot in mod size and performance that way.

Title: Re: Alpha and blacken non used texture parts
Post by: Blackbishop on November 11, 2013, 06:24:29 PM
Nope. Alpha'ing a mesh doesn't increase the performance because the mesh and it's polygons are still present, but are just "invisible" (i.e. without textures); we need to disable each mesh with OE in order to save performance.

Ostheer infantry has only a couple of troops with this feature, so most of them still need the change.
Title: Re: Alpha and blacken non used texture parts
Post by: Pfuscher on November 11, 2013, 07:06:01 PM
Ok, I thought it would help as the filesize gets up to 40% smaller, doesnt he load the whole thing?
Title: Re: Alpha and blacken non used texture parts
Post by: Blackbishop on November 11, 2013, 08:43:40 PM
Well, you are right, it can save some performance, but hiding the meshes saves more performance rather than alpha'ing them. We should do both, but we can do one of them, not to mention both :).