当前位置:网站首页>untiy世界边缘的物体阴影闪动,靠近远点的物体阴影正常
untiy世界边缘的物体阴影闪动,靠近远点的物体阴影正常
2022-07-03 12:42:00 【吴梓穆】
如果你拿到的模型非常大,你没有进行缩放直接使用,或者美工把模型的坐标放在了世界边缘,你会发现这些遥远的物体(任意坐标超5000后就已经非常明显)的阴影会发生极其不自然的闪烁,但与此同时,如果你把模型归零,在世界远点的话,你会发现阴影又正常了
这是因为浮点数的精度下降,由于浮点数最多只能怪精确表示7位,保证准确表示6位(整数部分加小数部分一共的位数),如果世界坐标太大,Untiy对于阴影的计算就会出现偏差
这种情况可以通过修改光源的biss和NormalBias缓解
但是最有效的方法是去window/packageManager里下载一个Post Processing后处理组件,并为摄像机挂载 Post-process Layer,并启用里边的TAA抗锯齿,注意这个抗锯齿在Post-process Layer里,不在PostProcessVolume里,关于Post Processing的具体用法可以参考这位大佬的博客后处理组件详细使用
此外,如果美工给你的模型太大,不建议你自己缩放模型,同样是因为浮点数精度的问题,可能会给项目带来不可预知的后果,建议直接让美工修改模型的比例尺
边栏推荐
- Sitescms v3.0.2 release, upgrade jfinal and other dependencies
- C graphical tutorial (Fourth Edition)_ Chapter 17 generic: genericsamplep315
- Tutoriel PowerPoint, comment enregistrer une présentation sous forme de vidéo dans Powerpoint?
- IDEA 全文搜索快捷键Ctr+Shift+F失效问题
- The R language GT package and gtextras package gracefully and beautifully display tabular data: nflreadr package and gt of gtextras package_ plt_ The winloss function visualizes the win / loss values
- Sitescms v3.1.0 release, launch wechat applet
- [Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter 7 exercises]
- PostgreSQL installation
- Spark实战1:单节点本地模式搭建Spark运行环境
- [Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter V exercises]
猜你喜欢

DQL basic query

Comprehensive evaluation of double chain notes remnote: fast input, PDF reading, interval repetition / memory

【Colab】【使用外部数据的7种方法】

STM32 and motor development (from MCU to architecture design)

Servlet

JSP and filter

Today's sleep quality record 77 points
[email protected] chianxin: Perspective of Russian Ukrainian cyber war - Security confrontation and sanctions g"/>Start signing up CCF C ³- [email protected] chianxin: Perspective of Russian Ukrainian cyber war - Security confrontation and sanctions g

Flink SQL knows why (XV): changed the source code and realized a batch lookup join (with source code attached)

PowerPoint tutorial, how to save a presentation as a video in PowerPoint?
随机推荐
剑指 Offer 14- II. 剪绳子 II
Setting up Oracle datagurd environment
Start signing up CCF C ³- [email protected] chianxin: Perspective of Russian Ukrainian cyber war - Security confrontation and sanctions g
【Colab】【使用外部数据的7种方法】
Fabric.js 更换图片的3种方法(包括更换分组内的图片,以及存在缓存的情况)
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter III exercises]
CVPR 2022 image restoration paper
Convolution emotion analysis task4
C graphical tutorial (Fourth Edition)_ Chapter 17 generic: genericsamplep315
C graphical tutorial (Fourth Edition)_ Chapter 13 entrustment: what is entrustment? P238
Sitescms v3.1.0 release, launch wechat applet
STM32 and motor development (from MCU to architecture design)
2022-01-27 research on the minimum number of redis partitions
显卡缺货终于到头了:4000多块可得3070Ti,比原价便宜2000块拿下3090Ti
Sword finger offer 15 Number of 1 in binary
Reptile
(first) the most complete way to become God of Flink SQL in history (full text 180000 words, 138 cases, 42 pictures)
Flink SQL knows why (19): the transformation between table and datastream (with source code)
Flink code is written like this. It's strange that the window can be triggered (bad programming habits)
Luogup3694 Bangbang chorus standing in line