Graphics Render Optimization

Source: Internet
Author: User

Here are some works great render optimization ideas:

1) Cull the back surface;

2) Use view frustum culling;

3) Less draw call number;

4) Batch those meshes that with the same materials;

5) Use simpler shader, consider carefully lighting in vertex shader or pixel shader;

6) Smaller texture or use mip-maps, hardware supported compression;

7) Use multiple instance instead of draw one mesh several times;

8) Use vertex buffer objects or vertex array;

9) Separate the dynamic part from the static part when design the vertex attributes data structure, use vertex index and make the array become continues;

10) sort the render state before rendering, mainly the texture;

11) Less rendering pass (or texture stage) will be better;

12) Less pixel overlap shadering. For example, you cocould render the sky box after all solid objects already rendered;

13) Smaller frame buffer or render target. Use a smaller frame buffer for transparent objects and post-processing if possible.

14) Disable Multiple-Sampling, as shown in the following figure!

15) Disable the Gamma correct;

16) Disable the dynamic shadow;

17) Use light maps instead of the dynamic lighting;

18) Limit the maximum skin character bone number; Or pre-bake the skin animation into vertex animation.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.