Skip to content

EnvironmentMapLight does not work on the web #7722

@JMS55

Description

@JMS55

textureNumLevels() is not supported on WebGL2.

We'll need a fallback for the EnvironmentMapLight shader. The easiest way for now would be a preprocessor define. The environment map will change rarely, so pipeline recompilation is fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) builds

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions