Game Development Community

Space terrain (RTS)

by Toks · in Torque Game Engine · 05/27/2007 (6:35 am) · 2 replies

Hey,

im doing a RTS game set in space, and im kind of struggling with terrains. my units are actually following a terrain, which is a flat, black with dots as stars, plane where the units move over (it looks better than it sounds ;) ). anyways, the problem is, i would like a sun in the centre of my map ofcourse, i am now using a sun "in the sky" so there is light you will need to see your units, but you cant see the sun since the game is fully top-down. i need a luminescent sphere in the centre of the map to represent a sun, but im not sure how i do this. (ive now placed a big, yellow ball for testing purposes, but i want it to function as the sun, so you will get a shade on the far side of planets and the back of my space ships). anyone know how to do something like this?

thanks

#1
06/14/2007 (8:34 pm)
You try to change the position of the sun in the editor or with torquescript, or maybe a c++ change?
#2
06/14/2007 (9:32 pm)
You could, I guess, bake the sun into the terrain texture somehow, and make the baked texture look luminescent... or you could use the yellow sphere + light(s), in addition to the sun light.(not sure this will work...)