diff --git a/cocos/3d/framework/sphere-light-component.ts b/cocos/3d/framework/sphere-light-component.ts index 29228bd012..47702b8cd8 100644 --- a/cocos/3d/framework/sphere-light-component.ts +++ b/cocos/3d/framework/sphere-light-component.ts @@ -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 diff --git a/cocos/3d/framework/spot-light-component.ts b/cocos/3d/framework/spot-light-component.ts index 076f6f0050..b30f568f73 100644 --- a/cocos/3d/framework/spot-light-component.ts +++ b/cocos/3d/framework/spot-light-component.ts @@ -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