当前位置:网站首页>Unity内置地形Terrain优化
Unity内置地形Terrain优化
2022-04-21 06:28:00 【菜菜码农柠檬哥】
原因:Terrain较大时面数、顶点数和Batches会大幅上升,会严重降低手机的fps。
原理:用插件Mesh Terrain Editor把地形转换为Mesh-Terrain,也就是1个带有特殊地形shader的mesh。
步骤:
1、Asset Store上搜索Mesh Terrain Editor下载插件;
2、先在层级视图上选中要被转换的Terrain,然后按照下图操作:

3、更改一些参数,一般只改图中箭头所指的4个就行:
默认.obj格式就行;
顶点数可以选择默认50,如果地图很大可以填大一些,注意如果顶点数 > 120的时候文件格式j就不要选.obj,而是改成.asset;
然后点开始转换即可,转换完记得在层级视图上移除原地形。

版权声明
本文为[菜菜码农柠檬哥]所创,转载请带上原文链接,感谢
https://blog.csdn.net/y1139735983/article/details/116847061
边栏推荐
- 虚幻引擎之多线程渲染机制
- Learn Ruixin micro rk3399pro record (10)
- 网络信息安全攻防学习平台--上传关1
- Solve the problem that the replacement traverses the circular call, resulting in the subsequent replacement replacing the data of the previous replacement
- Reflection cannot find the class message classnotfound of UDF when executing flinksql code
- 从零开始搭建一台深度学习服务器及环境配置
- Dpdk problem analysis: dpdk-20.11 ice 100g network card RSS_ Invalid hash configuration
- C语言版:二叉树的静态建立
- Dpdk-16.04 example demo and internal implementation analysis of monitoring UIO file to detect interrupt
- 【pytorch】pytorch 转 onnx 踩坑记录
猜你喜欢
随机推荐
图形学基础|屏幕空间反射(SSR)
Solve the problem that the replacement traverses the circular call, resulting in the subsequent replacement replacing the data of the previous replacement
Oracle fast replication table method
pg 数据库不能使用 zh_CN.UTF-8:initdb: error: locale “zh_CN.UTF-8“ requires unsupported encoding “GBK“
浅学cookie注入
UCOSIII移植到UCOSII—任务挂起/恢复/钩子/(保姆级教程)
C语言版:循环队列的建立和基本操作
Dpdk-16.04 IGB CRC length statistics
VMWare vSphere Failed to create object
udevd 检索内核模块并加载的 demo
postgres uuid_generate_v1() does not exist
对个人与环境的几个观点
The difference between on and where followed by conditions in the left join association table
Oracle uses DBMS_ Crypto realizes MD5 value calculation
图形学基础|皮肤渲染
【LeetCode 290】单词规律
you-get 命令与踩坑
Method and principle of obtaining the CPU core of the last execution of the process
如何使用u深度启动u盘清除系统登录密码
PowerShell - delay start sleep









