# Why is threejs lighting fun such as pointlight and ambientlight not working with version "three": "^0.164.1"

**URL:** <https://discourse.threejs.org/t/why-is-threejs-lighting-fun-such-as-pointlight-and-ambientlight-not-working-with-version-three-0-164-1/64689>\
**Category:** Questions\
**Tags:** lighting, version\
**Created:** [April 27, 2024, 7:57am UTC](https://discourse.threejs.org/t/why-is-threejs-lighting-fun-such-as-pointlight-and-ambientlight-not-working-with-version-three-0-164-1/64689 "2024-04-27T07:57:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![PavelBoytchev](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/pavelboytchev/32/38639_2.png) [@PavelBoytchev](https://discourse.threejs.org/u/PavelBoytchev)\
**Post date:** [April 27, 2024, 8:29am UTC](https://discourse.threejs.org/t/why-is-threejs-lighting-fun-such-as-pointlight-and-ambientlight-not-working-with-version-three-0-164-1/64689/2 "2024-04-27T08:29:36Z")

</div>

> [@Updates to lighting in three.js r155](https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733):
>
> The upcoming release r155 will contain a major change in context of lighting. The legacy lighting mode will be disabled by default which affects all light intensities and how point and spot lights decay. What does that mean for me? The release changes the default of WebGLRenderer.useLegacyLights from true to false and also deprecates the property. Meaning it will be eventually removed from the engine with r165. Setting WebGLRenderer.useLegacyLights to false is one important prerequisite for a…

---

_[View the full topic](https://discourse.threejs.org/t/why-is-threejs-lighting-fun-such-as-pointlight-and-ambientlight-not-working-with-version-three-0-164-1/64689)._
