modify the default value of _luminance (#4185)

This commit is contained in:
Santy-Wang
2019-04-10 15:43:32 +08:00
committed by Weiliang Wang
parent d997ebeaad
commit 1d797a9325
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export class SphereLightComponent extends LightComponent {
@property
protected _size = 0.15;
@property
protected _luminance = 1700 / nt2lm(this._size);
protected _luminance = 1700 / nt2lm(0.15);
@property
protected _term = PhotometricTerm.LUMINOUS_POWER;
@property
+1 -1
View File
@@ -37,7 +37,7 @@ export class SpotLightComponent extends LightComponent {
@property
protected _size = 0.15;
@property
protected _luminance = 1700 / nt2lm(this._size);
protected _luminance = 1700 / nt2lm(0.15);
@property
protected _term = PhotometricTerm.LUMINOUS_POWER;
@property