`Scene` backgrounds
tomcrane opened this issue · comments
What does it mean for a 3D Scene to have a background?
https://en.wikipedia.org/wiki/Skybox_(video_games)
Can we use the same properties for Canvases as for Scenes?
Suggestion:
{
"backgroundCanvas": {
"id": "https://example.org/canvas/background/black",
"type": "Canvas",
"backgroundColor": 256
}
}
{
"backgroundColor": 256
}
But how do you render a bounded 2D Canvas as the background to an unbounded space?
And for backgroundColor is that identical to just providing an alternative to a uniform default black? Or is there something else happening?
I think backgroundColor is to provide a default ... and we should allow it on Canvases as well as Scenes.
Perhaps backgroundCanvas is out of scope for MVP, though having a video of the sky render in the background for a bird or plane model could be nice :)
I assume that this would replace the default black with a uniform color, that seems to be the result in threejs. For reference: https://threejs.org/docs/#api/en/scenes/Scene.background Options are color, texture, or texture cube (skybox?).
Explicitly propose that backgroundColor on Scene and Canvas is in scope, and to defer backgroundCanvas