In the space game I’m planning on creating, it is absolutely necessary that the ship stays still, but the environment moves around it.
I’ve done this by moving and rotating every object in space, to give the illusion that the ship you’re inside is moving. This works fine, and the only problem I’ve encountered is the skybox not moving with it - when the skybox is still and the world is moving, the effect is completely ruined.
What I’m looking for is a solution that will allow me to rotate the skybox (to mimic the rotation of the ship).
What I’ve tried:
Surface GUI skybox
Problem: Moving it at all causes a ton of lag
Image Handle Adornment skybox
Problem: The transparency of the cockpit is ruined, due to the weird clipping issues w/ transparent parts
Inverted Sphere, with a skymap mapped to it
Problem: The uploadedable texture size is far too low-res, and doesn’t look convincing at all
Are there any other things I could try? Would really appreciate help with this, as keeping the ship still is crucial to the mechanics of the game.
The only way I can think of doing this with the actual skybox object is animating it manually. That doesn’t sound like fun, especially since it’s a space game that probably has like a million stars on the skybox.
Depending in the situation you could weld an inverted sphere mesh to the camera and maths it up to rotate correctly. Just a case of making the mesh large enough while still rendering.
What if you’d use an inverted sphere that’s split into multiple pieces? This way you will be able to achieve higher resolution textures, and it will also be easy to rotate around.
Well, generally it would look better if it was larger, as it wouldn’t look like just a giant shell encasing (unless you find some way of turning off its shadows)
There is always a solution for shadows
I think if the sphere was always positioned at the player('s camera), the size of it wouldn’t matter that much. As long as it wouldn’t intersect with the ship itself and wasn’t visible going through the hull