Skip to content

HemisphereLightNode uses view normals instead of world #31073

@vitro-mod

Description

@vitro-mod

Description

HemisphereLightNode uses normalView which causes unwanted color drift when camera angle changes.

This behavior is specific only to WebGPURenderer, therefore I suppose it's a bug.

Reproduction steps

  1. Setup a scene using WebGPURenderer with HemisphereLight with different colors and a stationary object
  2. Change camera angle
  3. Notice some changes in color of object
  4. Repeat this with WebGLRenderer
  5. Notice that there is no these changes in shading

Code

empty

Live example

empty

Screenshots

No response

Version

r176

Device

No response

Browser

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions