Performance Optimizations
Every developer who creates real-time applications
that use three-dimensional (3-D) graphics is concerned about performance
optimization. This section provides you with guidelines about getting the best
performance from your scene.
- Keep the textures small.
- Only set needed textures in material
- D3D Effect (Shader Text) heavy debase
performance, especially work with multi-texture. Only use shader when really
needed (if possible, instead of it by checking object's styles like Alpha
Test, Alpha Blend, Color Add...); if a material include shader text, assign
it to objects as less as possible.