pmndrs / env

💄 An app to create, edit, and preview HDR environment maps in the browser
https://env.pmnd.rs
MIT License
155 stars 6 forks source link

<LightformerLayers /> Not Defined #5

Open codingphasedotcom opened 9 months ago

codingphasedotcom commented 9 months ago

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
umar-ahmed commented 8 months ago

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 🙇‍♂️