Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Valigursky committed Nov 11, 2024
1 parent f9568a9 commit bdcbf22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/framework/components/camera/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ class CameraComponent extends Component {

/**
* Gets the gamma correction used when rendering the scene.
*
* @type {number}
*/
get gammaCorrection() {
return this.camera.shaderParams.gammaCorrection;
Expand All @@ -297,6 +299,8 @@ class CameraComponent extends Component {

/**
* Gets the tonemapping transform applied to the rendered color buffer.
*
* @type {number}
*/
get toneMapping() {
return this.camera.shaderParams.toneMapping;
Expand Down
2 changes: 1 addition & 1 deletion src/framework/lightmapper/lightmapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { drawQuadWithShader } from '../../scene/graphics/quad-render-utils.js';
import { Texture } from '../../platform/graphics/texture.js';
import {
BAKE_COLORDIR,
FOG_NONE, GAMMA_NONE, TONEMAP_LINEAR,
GAMMA_NONE, TONEMAP_LINEAR,
LIGHTTYPE_DIRECTIONAL, LIGHTTYPE_OMNI, LIGHTTYPE_SPOT,
PROJECTION_ORTHOGRAPHIC, PROJECTION_PERSPECTIVE,
SHADERDEF_DIRLM, SHADERDEF_LM, SHADERDEF_LMAMBIENT,
Expand Down

0 comments on commit bdcbf22

Please sign in to comment.