当前位置:网站首页>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 .
边栏推荐
- three. JS create cool snow effect
- MySQL数据库基本操作-DQL-基本查询
- 无法将“pip”项识别为 cmdlet、函数、脚本文件或可运行程序的名称
- [hcsd celebrity live broadcast] teach the interview tips of big companies in person - brief notes
- js中复选框checkbox如何判定为被选中
- Rongyun won the 2022 China Xinchuang digital office portal excellence product award!
- 统计学习方法——感知机
- logback.xml配置不同级别日志,设置彩色输出
- 融云斩获 2022 中国信创数字化办公门户卓越产品奖!
- 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"?
猜你喜欢

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

1亿单身男女“在线相亲”,撑起130亿IPO

记录Servlet学习时的一次乱码

Apache Doris just "graduated": why should we pay attention to this kind of SQL data warehouse?

华东师大团队提出,具有DNA调控电路的卷积神经网络的系统分子实现

平衡二叉树(AVL)

Pycharm terminal enables virtual environment

Mysql database basic operation DQL basic query

【Android -- 数据存储】使用 SQLite 存储数据

Vs tool word highlight with margin
随机推荐
Particle effect for ugui
Mysql database basic operation DQL basic query
laravel 是怎么做到运行 composer dump-autoload 不清空 classmap 映射关系的呢?
融云斩获 2022 中国信创数字化办公门户卓越产品奖!
应用程序和matlab的通信方式
Odoo integrated plausible embedded code monitoring platform
一个普通人除了去工厂上班赚钱,还能干什么工作?
Enterprise log analysis system elk
Leetcode-231-2的幂
laravel中将session由文件保存改为数据库保存
Vs tool word highlight with margin
How does laravel run composer dump autoload without emptying the classmap mapping relationship?
47_ Contour lookup in opencv cv:: findcontours()
记录Servlet学习时的一次乱码
MySQL中, 如何查询某一天, 某一月, 某一年的数据
47_Opencv中的轮廓查找 cv::findContours()
There are many ways to realize the pause function in JS
华东师大团队提出,具有DNA调控电路的卷积神经网络的系统分子实现
[summary of knowledge] summary of notes on using SVN in PHP
【C 语言】 题集 of Ⅹ