mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
modify diffuseMap property visible (#10333)
This commit is contained in:
@@ -388,7 +388,7 @@ export class SkyboxInfo {
|
||||
* @zh 使用的漫反射卷积图
|
||||
*/
|
||||
@visible(function (this : SkyboxInfo) {
|
||||
if (this.useIBL) {
|
||||
if (this.useIBL && this.applyDiffuseMap) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user