Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TiledLightsNode: questions about import path #29876

Closed
ligaofeng0901 opened this issue Nov 14, 2024 · 0 comments · Fixed by #29877
Closed

TiledLightsNode: questions about import path #29876

ligaofeng0901 opened this issue Nov 14, 2024 · 0 comments · Fixed by #29877
Milestone

Comments

@ligaofeng0901
Copy link
Contributor

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

@Mugen87 Mugen87 added this to the r171 milestone Nov 14, 2024
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 a pull request may close this issue.

2 participants