当前位置:网站首页>Cesium (4): the reason why gltf model is very dark after loading
Cesium (4): the reason why gltf model is very dark after loading
2022-07-07 16:29:00 【Touch】
1. edition
cesium 1.82.1
2. Effect of closing time on model brightness
viewer.scene.light = new Cesium.DirectionalLight({
direction: new Cesium.Cartesian3(0.354925, -0.890918, -0.283358)
})3. see gltf Model file
1、gltf The model file is opened with text , Open and view materials node , Take one of them as an example .
{
"doubleSided" : true,
"name" : "Material #2145370080",
"pbrMetallicRoughness" : {
"baseColorTexture" : {
"index" : 9
},
"metallicFactor" : 0,
"roughnessFactor" : 0.858578622341156
}
},among :
pbrMetallicRoughness: Specified based on metallic-roughness Material properties of the model ( Material properties that are not explicitly assigned will use the default values of the properties );
baseColorFactor: Including red , green , Blue and alpha composition , Constitute the basic color of the material ( The setting here is bright orange ).
metallicFactor: Used to specify the similarity between the reflection of the material and the metal .
roughnessFactor: Used to specify material roughness .
2、 Check materials Whether the material of the node has metallicFactor attribute ,metallicFactor The value of the 0-1 Between , The bigger the value is. , The darker the model .
边栏推荐
- Xingruige database was shortlisted as the "typical solution for information technology application and innovation in Fujian Province in 2021"
- 47_Opencv中的轮廓查找 cv::findContours()
- Laravel changed the session from file saving to database saving
- Laravel service provider instance tutorial - create a service provider test instance
- 通知Notification使用全解析
- php 自带过滤和转义函数
- How to implement backspace in shell
- 一个普通人除了去工厂上班赚钱,还能干什么工作?
- SysOM 案例解析:消失的内存都去哪了 !| 龙蜥技术
- 【知识小结】PHP使用svn笔记总结
猜你喜欢

Xingruige database was shortlisted as the "typical solution for information technology application and innovation in Fujian Province in 2021"

如何快速检查钢网开口面积比是否符合 IPC7525

记录Servlet学习时的一次乱码

Record the migration process of a project

You Yuxi, coming!
![[vulnhub range] thales:1](/img/fb/721d08697afe9b26c94fede628c4d1.png)
[vulnhub range] thales:1

Step by step monitoring platform ZABBIX

95. (cesium chapter) cesium dynamic monomer-3d building (building)

Excessive dependence on subsidies, difficult collection of key customers, and how strong is the potential to reach the dream of "the first share of domestic databases"?
通知Notification使用全解析
随机推荐
TCP framework___ Unity
Imitate the choice of enterprise wechat conference room
How can laravel get the public path
Xcode Revoke certificate
Aerospace Hongtu information won the bid for the database system research and development project of a unit in Urumqi
Sysom case analysis: where is the missing memory| Dragon lizard Technology
MySQL数据库基本操作-DQL-基本查询
Strengthen real-time data management, and the British software helps the security construction of the medical insurance platform
华东师大团队提出,具有DNA调控电路的卷积神经网络的系统分子实现
Performance comparison of tidb for PostgreSQL and yugabytedb on sysbench
Find tags in prefab in unity editing mode
Asyncio concept and usage
Laravel changed the session from file saving to database saving
Odoo集成Plausible埋码监控平台
全网“追杀”钟薛高
[vulnhub range] thales:1
【C 语言】 题集 of Ⅹ
Laravel5.1 Routing - routing packets
Laravel service provider instance tutorial - create a service provider test instance
Enterprise log analysis system elk