I seen two example project using an object on a plane look very nice but the surrounding still uses the background colour. If I want to add in a new background, does it meant I need to add in something like a cube or sphere so that the model is contained within it? Is there easier way to do this?
Cheers.
Edit: I see, I need to use a skybox. Any tutorial on how to use a sky box? I see none on wiki.
Yes, you can use the SkyBox for this. Usage is pretty simple:
- Pick the six textures that you want to use for the skybox (https://www.google.com/search?q=sky+box+textures (https://www.google.com/search?q=sky+box+textures)).
- Create the skybox using these textures and a reasonable size (that depends on your scene. Try 10000 as a start, i've no idea which value to use).
- After rendering your scene, call render(...) on the skybox in addition
I got it. Thanks!