当前位置:网站首页>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的具体用法可以参考这位大佬的博客后处理组件详细使用
此外,如果美工给你的模型太大,不建议你自己缩放模型,同样是因为浮点数精度的问题,可能会给项目带来不可预知的后果,建议直接让美工修改模型的比例尺
边栏推荐
- SQL learning notes (I)
- PowerPoint 教程,如何在 PowerPoint 中將演示文稿另存為視頻?
- Task5: multi type emotion analysis
- sitesCMS v3.0.2发布,升级JFinal等依赖
- Logback log framework
- 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
- Kotlin - 改良装饰者模式
- Typeerror resolved: argument 'parser' has incorrect type (expected lxml.etree.\u baseparser, got type)
- Flink SQL knows why (17): Zeppelin, a sharp tool for developing Flink SQL
- 2022-02-11 practice of using freetsdb to build an influxdb cluster
猜你喜欢

When the R language output rmarkdown is in other formats (such as PDF), an error is reported, latex failed to compile stocks Tex. solution

2022-02-09 survey of incluxdb cluster

STM32 and motor development (from MCU to architecture design)

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

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

OpenHarmony应用开发之ETS开发方式中的Image组件
[email protected]奇安信:透视俄乌网络战 —— 网络空间基础设施面临的安全对抗与制裁博弈..."/>开始报名丨CCF C³[email protected]奇安信:透视俄乌网络战 —— 网络空间基础设施面临的安全对抗与制裁博弈...
![[colab] [7 methods of using external data]](/img/cf/07236c2887c781580e6f402f68608a.png)
[colab] [7 methods of using external data]

This math book, which has been written by senior ml researchers for 7 years, is available in free electronic version
![【R】 [density clustering, hierarchical clustering, expectation maximization clustering]](/img/a2/b287a5878761ee22bdbd535cae77eb.png)
【R】 [density clustering, hierarchical clustering, expectation maximization clustering]
随机推荐
Some thoughts on business
Sword finger offer 12 Path in matrix
R语言gt包和gtExtras包优雅地、漂亮地显示表格数据:nflreadr包以及gtExtras包的gt_plt_winloss函数可视化多个分组的输赢值以及内联图(inline plot)
Tutoriel PowerPoint, comment enregistrer une présentation sous forme de vidéo dans Powerpoint?
Mysql database basic operation - regular expression
[today in history] July 3: ergonomic standards act; The birth of pioneers in the field of consumer electronics; Ubisoft releases uplay
Mysqlbetween implementation selects the data range between two values
My creation anniversary: the fifth anniversary
Asp.Net Core1.1版本没了project.json,这样来生成跨平台包
Sitescms v3.1.0 release, launch wechat applet
用户和组命令练习
MySQL constraints
Sword finger offer 14- ii Cut rope II
8皇后问题
[colab] [7 methods of using external data]
2022-01-27 redis cluster brain crack problem analysis
我的创作纪念日:五周年
File uploading and email sending
开始报名丨CCF C³[email protected]奇安信:透视俄乌网络战 —— 网络空间基础设施面临的安全对抗与制裁博弈...
C graphical tutorial (Fourth Edition)_ Chapter 18 enumerator and iterator: enumerator samplep340