- Unreal Engine 4 Shaders and Effects Cookbook
- Brais Brenlla Ramos John P. Doran
- 314字
- 2021-06-24 14:12:07
Checking the cost of our materials
In this recipe, we are going to be looking at the impact that our materials have on performance. So far, this introductory chapter has gone over the basics of the rendering pipeline—we've seen how to create a physically based material, understood what the different shading models were, and saw how light played a key role in the overall look of the final image. However, we can't yet move on without understanding the impact that our games or applications have on the machines that are running them.
The first thing that we need to be aware of is that some materials or effects are more expensive in terms of efficiency than others. Chances are you have already experienced that in the past—think, for example, about frames per second in video games. How many times a second our displays are updated by the hardware that runs them directly influences how the game plays and feels. There are many elements that affect performance, but one determining factor in that equation is how complex our materials are.
A different example, if your background is more closely tied to traditional offline renderers such as VRay or Corona, could be how the rendering times vary wildly depending on how complex the materials you are rendering are. Using subsurface scattering, complex translucency, or a combination of multiple advanced effects can take render times from minutes to hours.
The point is that we need to be able to control how performant the scene we are creating is. Unreal offers us several tools that allow us to see how expensive certain effects and materials are, and check where we should be optimizing our assets or where certain things aren't working. With that in mind, let's bring all of the assets we have previously created together and use those tools to check them out.
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- Visual Basic程序設(shè)計教程
- STM32F0實戰(zhàn):基于HAL庫開發(fā)
- Responsive Web Design by Example
- 程序員修煉之道:通向務(wù)實的最高境界(第2版)
- Learn React with TypeScript 3
- Visual C#.NET程序設(shè)計
- 計算機應用基礎(chǔ)實踐教程
- PHP編程基礎(chǔ)與實踐教程
- 軟件工程基礎(chǔ)與實訓教程
- Android技術(shù)內(nèi)幕(系統(tǒng)卷)
- 從零開始學Unity游戲開發(fā):場景+角色+腳本+交互+體驗+效果+發(fā)布
- Mastering Assembly Programming
- Swift語言實戰(zhàn)晉級(第2版)
- Activiti權(quán)威指南