env icon indicating copy to clipboard operation
env copied to clipboard

<LightformerLayers /> Not Defined

Open codingphasedotcom opened this issue 1 year ago • 1 comments

So I used the app and already have a scene that I like setup but when I copy the code from the visual editor I keep getting LightformerLayers not defined. Where is this LightformerLayers component supposed to come from? I went and search all throughout the source code and don't see where this component is supposed to be imported. It's only mentioned once Screenshot 2024-02-11 at 1 48 23 PM

codingphasedotcom avatar Feb 11 '24 18:02 codingphasedotcom

Hey @codingphasedotcom, thanks for leaving an issue.

The project is in the middle of big rewrite at the moment and I haven't been able to update the Code and HDRI export logic yet. I was using https://github.com/pmndrs/lamina before, but that project was archived and no longer maintained (<LightformerLayers /> was referring to that).

I've gotten a bit busy in the last couple months, so I can't make any promises, but the rewrite is like 80% done, and I'll be able to re-enable the .hdr file export soon so that you can use the generated file with Drei's <Environment /> component directly.

Sorry for the confusion 🙇‍♂️

umar-ahmed avatar Feb 24 '24 19:02 umar-ahmed