Skip to content

Commit

Permalink
WebGLRenderer: Deprecate useLegacyLights, change default to false. (#542
Browse files Browse the repository at this point in the history
)

* WebGLRenderer: Deprecate useLegacyLights, change default to false.

* Update WebGLRenderer.js
  • Loading branch information
Methuselah96 authored Jul 28, 2023
1 parent ed79dab commit cea2e3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/three/src/renderers/WebGLRenderer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ export class WebGLRenderer implements Renderer {
get coordinateSystem(): typeof WebGLCoordinateSystem;

/**
* @deprecated Migrate your lighting according to the following guide:
* https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733.
* @default true
*/
useLegacyLights: boolean;
Expand Down

0 comments on commit cea2e3f

Please sign in to comment.