webspace-sdk / webspace-engine

Webspace Engine
Mozilla Public License 2.0
61 stars 9 forks source link

Add meta tag support for custom skybox #115

Open mentatbot[bot] opened 1 week ago

mentatbot[bot] commented 1 week ago

This update introduces a new meta tag for specifying a custom skybox URL. The meta tag allows users to set a cube map URL, which is then incorporated into the render loop using native three.js functionality. The existing skybox behavior is disabled when a custom skybox is specified. This enhancement addresses issue #60.

Closes #60

gfodor commented 1 week ago

A good start - please review dom-utils.js for how to properly manage the meta tag state, particularly note how the terrain meta tags are dealt with since this would largely fall under the same umbrella.

gfodor commented 1 week ago

@MentatBot