Space simulator without fog
by Linas Jasaitis · in Torque Game Engine · 07/18/2006 (5:04 am) · 3 replies
Hello.
How to make skybox (space) without a fog ? removed terrain, now want to the the bottom of my space, and can see only the fog beginning exactly where i'm standing (on a pyramide in space) and going below. Imagine, i want to make AAA space shooter, kinda Freelancer (heh, it's a joke, but i want to move and see everything in every direction).
Regards.
How to make skybox (space) without a fog ? removed terrain, now want to the the bottom of my space, and can see only the fog beginning exactly where i'm standing (on a pyramide in space) and going below. Imagine, i want to make AAA space shooter, kinda Freelancer (heh, it's a joke, but i want to move and see everything in every direction).
Regards.
About the author
Torque Owner Brian Hill
You also need to create a space skybox the usual way, except that you add a real bottom texture. Finally, in the Sky object, set 'renderBottomTexture' to 1, and noRenderBans to 1.
In my case, I also set the MissionArea.area to a large, large size (30000 on a side), and the flightCeiling to an equally large value (such as 28000 or so). I don't know if changing the mission area size is strictly necessary, though.
For extra fun, implement one of the gravity resources to create zero-G (I use the 'individualized gravity' resource, since I have trigger-enabled 'artificial gravity' around each of my 'space station' interiors).