Game Development Community

DTS lighting...

by Tobias Niva · in Game Design and Creative Issues · 05/16/2007 (6:16 am) · 5 replies

I'm trying to light a few *.dts object in my scene...

I have modeled some cliffs (couldn't get any good result with *.dif, can get better texture mapping in *.dts) and now I'm trying to figure out how to light these in the world editor...

Since the built in "Sun" doesn't light *.dts, these "structures" get very flat because they are not lit on the "sun side"...

I tried to fake sun hitting the objects by adding a very distant sgLightObject to work as a sun for the *.dts objects, but placing such a distant light demands quite a large radius...and makes the editor/game crash on me.

Am I stupid here? Is there another way to make the actual sun light my *.dts objects?!

Can't come up with a solution to this - I just can't have my *.dts not lit...toooo flat of a environment IMO.

/Thanx in advance, Toby

#1
05/16/2007 (3:50 pm)
The sun should very well light your dts objects. What engine are you using and are the cliffs a TSStatic or some StaticShape?
Or is the problem that the cliffs do not physically face into the sun's direction?
#2
05/16/2007 (4:29 pm)
That's a bug I noticed in 1.5.1 that is fixed in 1.5.2
#3
05/17/2007 (12:56 am)
Thanx! I was on 1.5.1 - now I updated to 1.5.2, and it works fine without having to use the extra light source.

Another question (maybe not on topic) but is there a way to get a *.dts to use vertex color?
#4
06/13/2007 (3:47 am)
HI,

is there any way to lit .dts object in 1.5.1 engine. shall i use extra sources or do what??

KIndly suggest.
#5
06/13/2007 (11:03 pm)
If you are having problems with your lighting in 1.5.1, upgrade to 1.5.2 and see if the problem still occures.