Skip to content

TiledLightsNode: questions about import path #29876

@ligaofeng0901

Description

@ligaofeng0901

Description

It is same like this #29801
LightsNode, NodeUpdateType, StorageBufferAttribute in https://github.com/mrdoob/three.js/blob/dev/examples/jsm/tsl/lighting/TiledLightsNode.js#L6
Lighting https://github.com/mrdoob/three.js/blob/dev/examples/jsm/lighting/TiledLighting.js#L1
These objects are also availabel only in three/webgpu or three/tsl.
This time, some objects like StorageBufferAttribute is kind of weird if imported from three/tsl, but this is the only way to make it work in my app.

Reproduction steps

Code

// code goes here

Live example

Screenshots

No response

Version

0.170.0dev

Device

No response

Browser

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions