Skip to content

Commit cea2e3f

Browse files
authored
WebGLRenderer: Deprecate useLegacyLights, change default to false. (#542)
* WebGLRenderer: Deprecate useLegacyLights, change default to false. * Update WebGLRenderer.js
1 parent ed79dab commit cea2e3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/three/src/renderers/WebGLRenderer.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ export class WebGLRenderer implements Renderer {
211211
get coordinateSystem(): typeof WebGLCoordinateSystem;
212212

213213
/**
214+
* @deprecated Migrate your lighting according to the following guide:
215+
* https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733.
214216
* @default true
215217
*/
216218
useLegacyLights: boolean;

0 commit comments

Comments
 (0)