SlideShare a Scribd company logo
그래픽 최적화
어디까지 해봤니
- Unity Field Engineer 오지현
Image : 무사, Implosion, Z-rush, 히어로즈 아레나
Bottleneck
Draw Call
Batching (Pros, Cons)
Profiling
Profiling Sample
Level Of Detail
Lighting (Image Based Lighting)
Physically Based Rendering
Image : volvo
Bottleneck
Draw Call
Batching (Pros, Cons)
Profiling
Profiling Sample
Level Of Detail
Lighting (Image Based Lighting)
Physically Based Rendering
Optimization = Removing Bottleneck
CPU
GPU
Frame
End
Frame
start
Bottleneck?
CPU
GPU
Frame
End
Frame
start
CPU boundary VS GPU boundary
CPU
GPU
Frame
End
Frame
start
Logic AI Physics
Loading GC ...
CPU boundary
GPU boundary
Polygon Texture Filtering
Lighting Framebuffer
Shader Overdraw ...
Bottleneck
Draw Call
Batching (Pros, Cons)
Profiling
Profiling Sample
Level Of Detail
Lighting (Image Based Lighting)
Physically Based Rendering
CPU
DRAW!
Draw Call in a narrow sense
GPU
OK
CPU
DRAW!
TEXTURE!
SHADER!
VERTEX BUFFER!
ALPHA BLENDING!
TRANSFORM
CHANGE STATES
Draw Call in a broad sense
GPU...
USE Z-BUFFER!
CPU (App)
GPU
COMMAND COMMAND COMMAND COMMAND COMMAND
Set Texture Set Shader
Use Blending
Set VBO
Draw
Command Buffer
+Draw Call
Logic AI Physics
Loading GC …
CPU boundary
Bottleneck
Draw Call
Batching (Pros, Cons)
Profiling
Profiling Sample
Level Of Detail
Lighting (Image Based Lighting)
Physically Based Rendering
Batch(in Rendering Statistics Window)
= Draw Call
+ Setting Shader + Setting Blending
+ Setting Texture + Setting Vertex Buffer
+ ...
Batching =
1 batch for
many objects
Material A Material B
Mesh 1 Mesh 2 Mesh 1 Mesh 3
Batch Batch
s
c
e
n
e
Asset : Top-down Sci-Fi
Static Batching
VS
Dynamic Batching
Static Batching do this on loading
Dynamic Batching do this on Run-time
GPU
Vertex BufferScene
Dynamic Batching: limitations
Overhead for collecting vertices.
- Not for Skinned Mesh.
- Less than 300 vertices per mesh.
(position, normal, uv0)
Unity Frame Debugger
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver.
Bottleneck
Draw Call
Batching (Pros, Cons)
Profiling
Profiling Sample
Level Of Detail
Lighting (Image Based Lighting)
Physically Based Rendering
Analyze your Bottleneck
Measure correctly
Average value
Diverse situation
Per Target Device
CPU : A5
GPU : PowerVR SGX535
Resolution : 1024 x 768
CPU : A5X
GPU : PowerVR SGX543
Resolution : 2048 x 1536
Performance ?
Episode of
Unity Profiler
CPU
GPU
Simple test
High Polygon model VS Low Polygon model
Expensive Shader VS Cheap Shader .
High rez texture VS Low rez texture
Deep GPU Profile
Vendor Profiler tools
Qualcomm Adreno Profiler
Mali Graphics Debugger
ARM DS-5
http://community.arm.com/docs/DOC-9414
iOS GPU profiler
Bottleneck
Draw Call
Batching (Pros, Cons)
Profiling
Profiling Sample
Level Of Detail
Lighting (Image Based Lighting)
Physically Based Rendering
LG G-pad ( Adreno 320, 1920 X 1200)
Deferred Render
GPU Skinning
MatCap Shader
Lightmap
15K Polygons
Player Settings -> GPU Skinning
Skinning
GPU
CPU
or
Asset : Succubus Monster 2.0
Player Settings > Rendering
GPU :
Vertex
Shader
Buffer
GPU Skinning with Transform Feedback
Open GL ES 3.0 ~
CPU :
NEON
Buffer
CPU Skinning with NEON SIMD
NEON TM
X1 + =X2 X3
X1 + =X2 X3
Y1 + =Y2 Y3
Z1 + =Z2 Z3
W1 + =W2 W3
Single Instruction
Multi Data
Single Instruction
Single Data
GPU Skinning -> CPU Skinning
-9ms
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver.
cmd > adb.exe shell setprop debug.egl.profiler 1
image : Adreno Profiler user guide
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver.
Mobile/Unlit (support Lightmap)
-17ms
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver.
Level Of Detail
Image : Infinity Tap SF
ASSET : Armored Golem
Per Pixel Lit
Normalmap
Per Vertex Lit
LOD Plugins in Asset Store
Normalmap X
15K -> 7K Poly
LOD
-3ms
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver.
Deferred -> Forward
-5ms
Image : FPS Hangar
17 FPS (57ms)
iPhone 6 : PowerVR GX6450 1334 X 750
Vertex Pixel
Tile Based Deferred Rendering
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver.
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver.
39 FPS (25ms)
iPhone 6 : PowerVR GX6450 1334 X 750
SSAO SunShaft
Bottleneck
Draw Call
Batching (Pros, Cons)
Profiling
Profiling Sample
Level Of Detail
Lighting (Image Based Lighting)
Physically Based Rendering
image : http://www.aversis.be/tutorials/vray/vray-20-gi-methods.htm
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver.
Texture
Image Based Lighting
Unlit lighting
DiffuseWrap MatCap
Toon Shading (Diffuse Wrap)
MatCap (Material Capture)
IMG : http://www.cgarena.com/freestuff/tutorials/misc/photoreal/
X
( )+ =
MatCap Shading
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver.
Standard Shader
PC Ver. Mobile Ver.
We are optimizing more
Use less textures
ASSET : Many-Worlds
Use Secondary Maps
4.6.3~
Q & A
유니티 개발자 커뮤니티
유니티허브
ozlael.oz ozlael
ozlael.egloos.com
Thank you

More Related Content

PPTX
[데브루키/141206 박민근] 유니티 최적화 테크닉 총정리
PDF
쉐도우맵을 압축하여 대규모씬에 라이팅을 적용해보자
PPTX
Tips and experience of DX12 Engine development .
PDF
멀티스레드 렌더링 (Multithreaded rendering)
PDF
Screen Space Reflections in The Surge
PDF
Compute shader
PDF
MMOG Server-Side 충돌 및 이동처리 설계와 구현
PDF
빠른 렌더링을 위한 오브젝트 제외 기술
[데브루키/141206 박민근] 유니티 최적화 테크닉 총정리
쉐도우맵을 압축하여 대규모씬에 라이팅을 적용해보자
Tips and experience of DX12 Engine development .
멀티스레드 렌더링 (Multithreaded rendering)
Screen Space Reflections in The Surge
Compute shader
MMOG Server-Side 충돌 및 이동처리 설계와 구현
빠른 렌더링을 위한 오브젝트 제외 기술

What's hot (20)

PDF
Visual Studio를 이용한 어셈블리어 학습 part 1
PDF
C++20에서 리플렉션 기능 구현
PDF
Dissecting the Rendering of The Surge
PPTX
Five Rendering Ideas from Battlefield 3 & Need For Speed: The Run
PPTX
[0122 구경원]게임에서의 충돌처리
PDF
게임에서 흔히 쓰이는 최적화 전략 by 엄윤섭 @ 지스타 컨퍼런스 2013
PDF
Cascade Shadow Mapping
PPT
Terrain Rendering in Frostbite using Procedural Shader Splatting (Siggraph 2007)
PDF
심예람, <프로젝트DH> AI 내비게이션 시스템, NDC2018
PPTX
Compute shader DX11
PDF
감마가 어디감마
PPTX
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
PPTX
Optimizing the Graphics Pipeline with Compute, GDC 2016
PPTX
윤석주, 신입 게임 프로그래머가 되는 법 - 넥슨 채용 프로세스 단계별 분석, NDC2019
PDF
Brdf기반 사전정의 스킨 셰이더
PPTX
GPGPU(CUDA)를 이용한 MMOG 캐릭터 충돌처리
PPT
A Bit More Deferred Cry Engine3
PDF
Unite2019 HLOD를 활용한 대규모 씬 제작 방법
PDF
08_게임 물리 프로그래밍 가이드
PPT
프레임레이트 향상을 위한 공간분할 및 오브젝트 컬링 기법
Visual Studio를 이용한 어셈블리어 학습 part 1
C++20에서 리플렉션 기능 구현
Dissecting the Rendering of The Surge
Five Rendering Ideas from Battlefield 3 & Need For Speed: The Run
[0122 구경원]게임에서의 충돌처리
게임에서 흔히 쓰이는 최적화 전략 by 엄윤섭 @ 지스타 컨퍼런스 2013
Cascade Shadow Mapping
Terrain Rendering in Frostbite using Procedural Shader Splatting (Siggraph 2007)
심예람, <프로젝트DH> AI 내비게이션 시스템, NDC2018
Compute shader DX11
감마가 어디감마
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
Optimizing the Graphics Pipeline with Compute, GDC 2016
윤석주, 신입 게임 프로그래머가 되는 법 - 넥슨 채용 프로세스 단계별 분석, NDC2019
Brdf기반 사전정의 스킨 셰이더
GPGPU(CUDA)를 이용한 MMOG 캐릭터 충돌처리
A Bit More Deferred Cry Engine3
Unite2019 HLOD를 활용한 대규모 씬 제작 방법
08_게임 물리 프로그래밍 가이드
프레임레이트 향상을 위한 공간분할 및 오브젝트 컬링 기법
Ad

Similar to 유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver. (20)

PDF
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) Unite Seoul Ver.
PDF
Keynote (Johan Andersson) - Mantle for Developers - by Johan Andersson, Techn...
PPTX
Mantle for Developers
PDF
DX12 & Vulkan: Dawn of a New Generation of Graphics APIs
PDF
【Unite 2017 Tokyo】インスタンシングを用いた美麗なグラフィックの実現方法
PDF
【Unite 2017 Tokyo】インスタンシングを用いた美麗なグラフィックの実現方法
PDF
그래픽 최적화로 가...가버렷! (부제: 배치! 배칭을 보자!) , Batch! Let's take a look at Batching! -...
PDF
Unite 2013 optimizing unity games for mobile platforms
PDF
Optimizing HDRP with NVIDIA Nsight Graphics – Unite Copenhagen 2019
PPTX
Unite Berlin 2018 - Book of the Dead Optimizing Performance for High End Cons...
PDF
PlayStation: Cutting Edge Techniques
PPTX
Optimizing unity games (Google IO 2014)
PPTX
Low-level Graphics APIs
PPSX
Rendering Battlefield 4 with Mantle by Yuriy ODonnell
PDF
Smedberg niklas bringing_aaa_graphics
PPTX
Unity Optimization Tips, Tricks and Tools
PPSX
Rendering Battlefield 4 with Mantle by Johan Andersson - AMD at GDC14
PPTX
Rendering Battlefield 4 with Mantle
PPTX
Developing and optimizing a procedural game: The Elder Scrolls Blades- Unite ...
PDF
Practical SPU Programming in God of War III
유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) Unite Seoul Ver.
Keynote (Johan Andersson) - Mantle for Developers - by Johan Andersson, Techn...
Mantle for Developers
DX12 & Vulkan: Dawn of a New Generation of Graphics APIs
【Unite 2017 Tokyo】インスタンシングを用いた美麗なグラフィックの実現方法
【Unite 2017 Tokyo】インスタンシングを用いた美麗なグラフィックの実現方法
그래픽 최적화로 가...가버렷! (부제: 배치! 배칭을 보자!) , Batch! Let's take a look at Batching! -...
Unite 2013 optimizing unity games for mobile platforms
Optimizing HDRP with NVIDIA Nsight Graphics – Unite Copenhagen 2019
Unite Berlin 2018 - Book of the Dead Optimizing Performance for High End Cons...
PlayStation: Cutting Edge Techniques
Optimizing unity games (Google IO 2014)
Low-level Graphics APIs
Rendering Battlefield 4 with Mantle by Yuriy ODonnell
Smedberg niklas bringing_aaa_graphics
Unity Optimization Tips, Tricks and Tools
Rendering Battlefield 4 with Mantle by Johan Andersson - AMD at GDC14
Rendering Battlefield 4 with Mantle
Developing and optimizing a procedural game: The Elder Scrolls Blades- Unite ...
Practical SPU Programming in God of War III
Ad

More from ozlael ozlael (20)

PPTX
Unity & VR (Unity Roadshow 2016)
PDF
뭣이 중헌디? 성능 프로파일링도 모름서 - 유니티 성능 프로파일링 가이드 (IGC16)
PPTX
Optimizing mobile applications - Ian Dundore, Mark Harkness
PDF
Infinity Blade and beyond
PDF
스티브잡스처럼 프레젠테이션하기
PDF
유니티의 라이팅이 안 이쁘다구요? (A to Z of Lighting)
PDF
Introduce coco2dx with cookingstar
PDF
Deferred rendering case study
PDF
Kgc make stereo game on pc
PPTX
mssao presentation
PDF
Modern gpu optimize blog
PDF
Modern gpu optimize
PDF
Bickerstaff benson making3d games on the playstation3
PDF
DOF Depth of Field
PDF
Hable uncharted2(siggraph%202010%20 advanced%20realtime%20rendering%20course)
PDF
Deferred rendering in_leadwerks_engine[1]
PDF
Deferred shading
PDF
Deferred Rendering in Killzone 2
PDF
PDF
Deferred lighting
Unity & VR (Unity Roadshow 2016)
뭣이 중헌디? 성능 프로파일링도 모름서 - 유니티 성능 프로파일링 가이드 (IGC16)
Optimizing mobile applications - Ian Dundore, Mark Harkness
Infinity Blade and beyond
스티브잡스처럼 프레젠테이션하기
유니티의 라이팅이 안 이쁘다구요? (A to Z of Lighting)
Introduce coco2dx with cookingstar
Deferred rendering case study
Kgc make stereo game on pc
mssao presentation
Modern gpu optimize blog
Modern gpu optimize
Bickerstaff benson making3d games on the playstation3
DOF Depth of Field
Hable uncharted2(siggraph%202010%20 advanced%20realtime%20rendering%20course)
Deferred rendering in_leadwerks_engine[1]
Deferred shading
Deferred Rendering in Killzone 2
Deferred lighting

Recently uploaded (20)

PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
cuic standard and advanced reporting.pdf
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
Advanced IT Governance
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PPTX
Cloud computing and distributed systems.
PDF
Electronic commerce courselecture one. Pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Sensors and Actuators in IoT Systems using pdf
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
KodekX | Application Modernization Development
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
cuic standard and advanced reporting.pdf
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Modernizing your data center with Dell and AMD
Advanced IT Governance
Per capita expenditure prediction using model stacking based on satellite ima...
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
madgavkar20181017ppt McKinsey Presentation.pdf
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
GamePlan Trading System Review: Professional Trader's Honest Take
Cloud computing and distributed systems.
Electronic commerce courselecture one. Pdf
Review of recent advances in non-invasive hemoglobin estimation
Sensors and Actuators in IoT Systems using pdf
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
KodekX | Application Modernization Development

유니티 그래픽 최적화, 어디까지 해봤니 (Optimizing Unity Graphics) NDC15 Ver.