I can't seem to export worldenvironment 2D settings to web. Is there a way to do this?

Godot Version

Godot 4.1

Question

World environment doesn’t seem compatible with web exports, and I can’t find anything about it online (except for a 3 month old reddit post that went ignored).

Even if there’s no way to for world environments to work in web exports, just knowing conclusively would save me a massive headache.

Thanks.

I’m using the Mobile renderer, in case that’s important.

World environment settings:

and Compatibility? (OpenGL)

HTML5 doesn’t support any of the Vulkan renderers (there is no WebGPU renderer yet). It only supports the OpenGL renderer.

Switch to the OpenGL renderer in the project settings, so that you’re actually using the same renderer on both native and HTML5.

I’m still a bit new, so I’m not 100% sure if I did this right, but switching to the OpenGL renderer is the same as switching to compatibility, right? If that’s the case then there doesn’t seem to be web support for the features I’m using, which is good to know.

Yes, see Rendering methods

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.