Optimizing Graphics in Unity 学习

Posted revoid

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Optimizing Graphics in Unity 学习相关的知识,希望对你有一定的参考价值。

https://learn.unity.com/tutorial/optimizing-graphics-in-unity

 

1. Rendering

2. Camera

3. Textures

4. Multithreaded Rendering & Graphics Jobs

5. Framebuffer

6. Shaders

 

1. Rendering

2. Camera

  Clear

On mobile tile-based renderers, the clear command is particularly important. Unity takes care of the details, so you only have to set the clear flags on the Camera and avoid using the "Don‘t Clear" flag when targeting mobile devices. The underlying  behavior of the clear command depends on the platform and graphics driver, but depending on the clear flag you choose, it can impact performance significantly, because Unity has to either clear the previous content, set flags to ignore the previous content, or read previous content back from the buffer. 

    Clear flags

On mobile, avoid Unity‘s default Skybox (appropriately named Default-Skybox), which is computationally expensive and which is enabled by default in all new Scenes. 

    Discard and Restore buffer

 

    Tile-based Rendering

 

    RenderTexture Switching

 

    FrameBuffer Compression

 

  Culling

 

    Frustum Culling

 

    Occlusion Culling

 

    Multiple Cameras

 

    Per-Layer culling distances

 

  Skinned Motion Vectors

 

  Fillrate

 

    Overdarw

 

    Overdraw view

 

    Transparency

 

    Alpha Blending

 

    Draw Order

 

    Z-testing

 

  Draw Call Batching

 

    Instancing

 

  Geometry

 

  Level of Detail (LOD)

 

    Static Scenes

 

    High-Quality LODs

 

    Runtime Mesh Combination

 

    Animation LODs

 

3. Textures

  Asset Auditing

 

  Texture Compression

 

    ASTC

 

    PVRTC

 

  GPU Upload

 

    Load Behavior

 

  Awake Behavior

 

  Memory Behavior

 

4. Multithreaded Rendering & Graphics Jobs

  Singlethreaded Rendering (single client, no worker thread)

 

  Multithreaded Rendering (single client,  single worker thread)

 

    Renderthread

 

    Availability

 

    Performance Considerations

 

  Profiling Multithreaded Rendering

 

  Jobified Rendering (multiple clients, single worker thread)

 

  Graphics Jobs (multiple clients, no worker thread)

 

    Availability

 

    Profiling Rendering

 

    GfxThreadableDevice Functions

 

5. Framebuffer

  Double & Triple Buffering

 

  Color Buffer

 

  Stencil & Depth Buffer

 

  Native Resolution

 

    Buffer Size

 

  Final Blit

 

6. Shaders

  Mobile Shaders

 

    Lightmaps

 

  Project Imports

 

    Default Shaders

 

  Shader Build Report

 

  Shader Memory

 

  Shader Keywords

 

  Shader Variants

 

  Shader Variant Collections

 

  Shader Preloading

 

  Built-in shaders

 

以上是关于Optimizing Graphics in Unity 学习的主要内容,如果未能解决你的问题,请参考以下文章

Offloading Monocular Visual Odometry with Edge Computing: Optimizing Image Quality in Multi-Robot Sy

java Creare un file compresso in formato ZIP

渲染优化01

sql seleziona i pagamenti effettuati in un arco di tempo

ubuntu the system is running in low-graphics mode

Basic Concepts in Graphics and Architecture