当前位置:网站首页>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 :
边栏推荐
- Unity parallax infinite scrolling background
- China polyurethane rigid foam Market Research and investment forecast report (2022 Edition)
- [groovy] closure closure (customize closure parameters | customize a single closure parameter | customize multiple closure parameters | specify the default value of closure parameters)
- 2020-10-27
- Three dimensional dice realize 3D cool rotation effect (with complete source code) (with animation code)
- 2021 electrician cup (the 12th "China Society of electrical engineering Cup" National Undergraduate electrician mathematical modeling) detailed ideas + codes + references
- stm32Cubemx(8):RTC和RTC唤醒中断
- Unity3d learning notes
- Special information | finance, accounting, audit - 22.1.23
- Forecast report on research and investment prospects of Chinese wormwood industry (2022 Edition)
猜你喜欢

【Leetcode】1352. Product of the last K numbers

【Leetcode】1352. 最后 K 个数的乘积

Redis 排查大 key 的4种方法,优化必备

LeetCode之單詞搜索(回溯法求解)

Number theoretic function and its summation to be updated

数论函数及其求和 待更新

AutoCAD - workspace settings

Pdf to DWG in CAD

2022 American College Students' mathematical modeling ABCDEF problem thinking /2022 American match ABCDEF problem analysis

【acwing】837. Number of connected block points
随机推荐
cocos_ Lua listview loads too much data
MD5 bypass
Dotween usage records ----- appendinterval, appendcallback
AutoCAD -- dimension break
China as resin Market Research and investment forecast report (2022 Edition)
2020-10-27
【Leetcode】1352. 最后 K 个数的乘积
3dsmax2018 common operations and some shortcut keys of editable polygons
Personal required code
MySQL audit log archiving
Unity connects to the database
Unity ugui source code graphic
Special information | real estate and office buildings - 22.1.9
Thinking of 2022 American College Students' mathematical modeling competition
How to choose a panoramic camera that suits you?
mysql審計日志歸檔
Number theoretic function and its summation to be updated
A complete attack chain
Basic knowledge points of dictionary
django连接数据库报错,这是什么原因