Skip to content

Conversation

MeirArani
Copy link
Contributor

Description

The sample code in the manual for the Scene Graph fundamentals has a code typo that was causing me some grief. Particularly this chunk of code:

{
  const color = 0xFFFFFF;
  const intensity = 3;
  const light = new THREE.PointLight(color, intensity);
  scene.add(light);
}

had the wrong intensity value (should be 500, not 3). It took me some time to realize why I couldn't get my example matching up with the docs.

I updated the docs to match the correct value in all the areas I could spot the issue.

@Mugen87 Mugen87 added this to the r178 milestone Jun 20, 2025
@Mugen87 Mugen87 merged commit fa5da93 into mrdoob:dev Jun 20, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants