Skip to content

webgl_lights_physical: Scale seems off #15262

@moraxy

Description

@moraxy
Description of the problem

The text at the top of webgl_light_physical (master, dev) says

Brick cube is 1 meter in size. Light is 2 meters from floor. Globe is 25 cm in diameter

But the globe is twice the size of the cubes and the light moves from cube-height to 4 * cube-height, so neither ending at nor centered around 2 * cube-height as it suggests.
scale

In early commits the numbers fit(1, 2 and 0.1213), but then the text never got updated it seems (git blame) Is the ratio of 1 unit:1 m still correct here?

Somewhat related: #7636 and #6259 (both about unit scale) and #8260 (original PR)

Three.js version
  • Dev
  • r98

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions