当前位置:网站首页>Ue4/ue5 illusory engine, material chapter, texture, compression and memory compression and memory
Ue4/ue5 illusory engine, material chapter, texture, compression and memory compression and memory
2022-07-05 04:58:00 【Hufeng River】
Preface :
● The reason why we perform compression is , Because memory and bandwidth are limited , Therefore, it must be compressed .
You can't keep everything uncompressed , Especially in very large projects , This is very difficult to do .
obviously , Texture resolution will affect memory and bandwidth without affecting rendering performance .
● If there is a problem with the number and size of textures you use , Then it will affect bandwidth and memory , May cause delays 、 Freeze and jam , But it will not cause frame rate loss .
● Low frame rate is generally not due to texture problems , If there is a problem with the texture , Then you will see that the displayed texture resolution is very low .
● Lower than the resolution when you import , You will see the delay 、 Phenomena like freezing and Caton , But there will be no low frame rate . This is how we can distinguish possible performance problems .
If any of these problems occur , Usually related to loading , Usually related to texture .
● If you don't use much memory , Then just unzip all the textures in the project .
Especially if your project is not a game , And you can control the hardware , Then such a solution is acceptable .
If it's a game , Then disabling compression will almost certainly not solve the problem , Only in extreme special cases where uncompressed textures have to be used , To disable compression .
One 、 Compression type
BC(Block Compression) Express “ Block compression ” .
DXTC(DirectX Texture comporession) Express “DirectX Texture compression ”.
Two 、DXTC5 Compress
Transparent channels are hardly compressed ,DXTC5 Indicates compressed red 、 Green and blue and contain transparency ,
But it won't really compress transparency . The transparent file size is the same as that of other channels .
3、 ... and 、BC5 Compress
BC Compression and DXTC The problem with compression is , It is actually very difficult to accurately deal with the color combinations of normal maps .
It cannot mix different colors according to the normal map , To compress the normal map , This is a weakness in the system .
if necessary 100% Uncompressed normal map , Please set it to “ Vector displacement mapping ”, This is a universally applicable compression .
It does nothing , Just import as is .
Four 、TextureStats Texture statistics (Window window ——>Statistics statistics )
TextureStats Texture statistics , All textures currently in memory in the editor will be displayed . These textures are not necessarily the same as those in the game , When running a project , This is the texture included in the editor . The editor tends to load more textures , Including unnecessary textures .
source :
边栏推荐
- Introduce Hamming distance and calculation examples
- Special information | finance, accounting, audit - 22.1.23
- Introduction to JVM principle and process
- Unity3d learning notes
- Manually implement heap sorting -838 Heap sort
- [groovy] closure closure (customize closure parameters | customize a single closure parameter | customize multiple closure parameters | specify the default value of closure parameters)
- The first topic of ape Anthropology
- 54. Spiral matrix & 59 Spiral matrix II ●●
- 2022/7/2做题总结
- [groovy] closure (Introduction to closure class closure | closure parametertypes and maximumnumberofparameters member usage)
猜你喜欢
[groovy] closure (Introduction to closure class closure | this, owner, delegate member assignment and source code analysis)
LeetCode之單詞搜索(回溯法求解)
Chinese notes of unit particle system particle effect
Redis 排查大 key 的4种方法,优化必备
Looking at Chinese science and technology from the Winter Olympics: what is the mystery of the high-speed camera that the whole people thank?
AutoCAD - command repetition, undo and redo
AutoCAD - feature matching
How to choose a panoramic camera that suits you?
XSS injection
xss注入
随机推荐
2022/7/1学习总结
2021 electrician cup idea + code - photovoltaic building integration plate index development trend analysis and prediction: prediction planning issues
AutoCAD - set layer
2022 thinking of mathematical modeling D problem of American college students / analysis of 2022 American competition D problem
AutoCAD - Center zoom
2021 electrician Cup - high speed rail traction power supply system operation data analysis and equivalent modeling ideas + code
Looking at Chinese science and technology from the Winter Olympics: what is the mystery of the high-speed camera that the whole people thank?
669. 修剪二叉搜索树 ●●
MD5绕过
Dotween usage records ----- appendinterval, appendcallback
Unity get component
"Measuring curve length" of CAD dream drawing
#775 Div.1 B. Integral Array 数学
Unity3d learning notes
xss注入
The first topic of ape Anthropology
China needle coke industry development research and investment value report (2022 Edition)
Judge the position of the monster in the role under unity3d
Basic knowledge points of dictionary
【acwing】836. Merge sets