Optimization Flashcards

1
Q

Optimizing graphics performance
Good performance is critical to the success of many games.
To improve graphics performance

A

Locate high graphics impact

The GPU and CPU can be affected by the graphical part of your game.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Optimization for the GPU

GPU is often limited by fillrate or memory bandwidth

A

Lower the display resolution and run the game. If a lower resolution makes the game run faster, you may be limited by fillrate on the GPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CPU is often limited by the number of batches that need to be rendered

A

Check batches in the rendering statistics window. The more batches are being rendered, the higher the cost to the CPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Npc methods to optimize?
Use simple meshes with low to medium detail. High detail will cause more rendering and be more cost-effective
Limit the vertices and vertex shaders to process to ensure good performance and less strain on the GPU

A

Skinned meshes, cloth simulation, particles or other game objects and meshes could strain the CPU.
Try to keep this number as low as possible without compromising game quality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Reduce the visible object count, to reduce the amount of work the CPU needs to do.
Combine close objects together, either manually or using Unitys draw call batching.

A

Use fewer materials in your objects by putting separate textures into a larger texture atlas.
Use fewer things that cause objects to be rendered multiple times, such as reflections, shadows and per pixel lights

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

GPU optimizing model geometry
Do not use more triangles than necessary
Try to keep the number of UV mapping seams and hard edges, double up vertices, as low as possible.

A

A vertex must be split if it has multiple normals, uv coordinates or vertex colors. The vertex count in unity is usually higher than the count given by the 3D application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly