当前位置:网站首页>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 .
边栏推荐
- Imitate the choice of enterprise wechat conference room
- 23. 合并K个升序链表-c语言
- logback.xml配置不同级别日志,设置彩色输出
- Laravel5.1 路由 -路由分组
- PHP实现执行定时任务的几种思路详解
- spark调优(三):持久化减少二次查询
- Iptables only allows the specified IP address to access the specified port
- Laravel 中config的用法
- Regular expression string
- Multiplication in pytorch: mul (), multiply (), matmul (), mm (), MV (), dot ()
猜你喜欢
Sysom case analysis: where is the missing memory| Dragon lizard Technology
[C language] question set of X
Unity3d click events added to 3D objects in the scene
Logback logging framework third-party jar package is available for free
torch. Numel action
[Android -- data storage] use SQLite to store data
Record the migration process of a project
SPI master RX time out interrupt
Eye of depth (VII) -- Elementary Transformation of matrix (attachment: explanation of some mathematical models)
Strengthen real-time data management, and the British software helps the security construction of the medical insurance platform
随机推荐
应用程序和matlab的通信方式
JS中null NaN undefined这三个值有什么区别
What is the difference between IP address and physical address
laravel post提交数据时显示异常
Plate - forme de surveillance par étapes zabbix
How does laravel run composer dump autoload without emptying the classmap mapping relationship?
95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
What about the pointer in neural network C language
PHP中exit,exit(0),exit(1),exit(‘0’),exit(‘1’),die,return的区别
Common training data set formats for target tracking
The unity vector rotates at a point
Pycharm terminal enables virtual environment
删除 console 语句引发的惨案
Asyncio concept and usage
Sysom case analysis: where is the missing memory| Dragon lizard Technology
01tire+链式前向星+dfs+贪心练习题.1
通知Notification使用全解析
Logback日志框架第三方jar包 免费获取
全网“追杀”钟薛高
Vs tool word highlight with margin