当前位置:网站首页>Performance Optimization - Rendering Optimization Notes
Performance Optimization - Rendering Optimization Notes
2022-08-01 14:02:00 【Chang'an flowers bloom*】
Two basic parameters that affect rendering efficiency: DrawCall and Triangle
The subject range (5%~95%) of Batch on medium and low-end machines is controlled within [0,250]
The number of faces: lod to reduceRendering faces
Camera.Render function stack analysis:
The high consumption of RenderForward.RenderLoopJob is usually due to the high number of Batches.
Culling time is reasonable in the range of 10%~20%.If it is high, you can check several aspects
If the number of GameObject small objects is too large, you can use dynamic loading, block display, CullingGroup Culling Distance and other methods to optimize the time consuming of Culling
If multi-threaded rendering is used in the project and it is enabledOcclusionCulling usually leads to excessive pressure on sub-threads, resulting in high overall Culling. Although OcclusionCulling reduces rendering consumption, its own consumption is also worth noting. The R&D team needs to test the consumption and then determine whether to enable this function.
Render.Mesh CorrespondingIt is the time-consuming rendering that cannot be batched, and its number of calls corresponds to the corresponding number of Batches
ParticleSystem.ScheduleGeometryJobs: It means that the main thread needs to wait for the sub-thread to calculate the position of the Particle before Culling.It is recommended to reduce the complexity of particles
ParticleSystem.Draw: the number of DrawCalls of particles If the function is too high, you can consider reducing the number of particle systems [Real Machine Test->Memory Management->Specific Resource Information->Particle System]
You can reduce the interleaving of particle rendering through the atlas and adjusting the Order in Layer
Shader.CreateGPUProgram: The consumption of the shader when it is rendered for the first time is related to the complexity of the shader. For this, the Shader can be preloaded through the ShaderVariantCollection, and after loadingTrigger Shader.CreateGPUProgram through ShaderVariantCollection.WarmUp, and cache this csv to avoid repeated calls
"An idea for Shader variant collection, packaging and compilation optimization" https://answer.uwa4d.com/question/5da86670e84db43d6efbda72
Turn on multi-threaded rendering: Since uwa online report CPU time usage only counts the time taken by the main thread, if multi-threaded rendering is turned on, it is recommended to submit two versions for internal testing to facilitate analysis and rendering.
GPU Instancing: for grassTrees, buildings and other things that appear repeatedly in the scene have been significantly optimized.
SPR Batcher: Note: Shader needs to be compatible with SRP Particles are not supported Shader variants will interrupt DC batching
边栏推荐
- 数据挖掘-04
- What is consistent hashing?In what scenarios can it be applied?
- How does the SAP ABAP OData service support the Create operation trial version
- 2022-07-29 网工进阶(二十二)BGP-其他特性(路由过滤、团体属性、认证、AS欺骗、对等体组、子路由器、路由最大接收数量)
- Service Mesher Meetup 成都站:Service Mesh是下一代SDN吗?
- Istio Pilot代码深度解析
- 响应式2022英文企业官网源码,感觉挺有创意的
- 热心肠:关于肠道菌群和益生菌的10个观点
- 灵魂发问:MySQL是如何解决幻读的?
- sql中常用到的正则表达
猜你喜欢

全链路灰度在数据库上我们是怎么做的?
![[LiteratureReview]Optimal and Robust Category-level Perception: Object Pose and Shape Estimation f](/img/bc/f3cea50c157f151a1ca5e540e7f77b.png)
[LiteratureReview]Optimal and Robust Category-level Perception: Object Pose and Shape Estimation f

PAT1165 Block Reversing(25)

什么是混合元编程

数据挖掘-04

8. How does the SAP ABAP OData service support the Create operation

Programmer's Romantic Tanabata

The basic knowledge of scripting language Lua summary

论文笔记All about Eve: Execute-Verify Replication for Multi-Core Servers

性能测试入门指南
随机推荐
四足机器人软件架构现状分析
sql中常用到的正则表达
性能优化——资源优化笔记
leetcode.26 删除有序数组中的重复项(set/直接遍历)
拥抱NFV,Istio 1.1 将支持多网络平面
灵魂发问:MySQL是如何解决幻读的?
SAP ABAP OData 服务如何支持创建(Create)操作试读版
iPhone难卖,被欧洲反垄断的服务业务也难赚钱了,苹果的日子艰难
预防和制止家庭暴力 人身安全保护令司法解释今起施行
性能测试入门指南
10年稳定性保障经验总结,故障复盘要回答哪三大关键问题?|TakinTalks大咖分享
考研大事件!这6件事考研人必须知道!
Batch replace tables in Word with pictures and save
D - Draw Your Cards (Simulation)
The basic knowledge of scripting language Lua summary
The obstacles to put Istio into production and how we solve them
性能优化——粒子优化笔记
什么是混合元编程
微信UI在线聊天源码 聊天系统PHP采用 PHP 编写的聊天软件,简直就是一个完整的迷你版微信
AD单片机九齐单片机NY8B062D SOP16九齐