Game Development Community

Shadow problem (newbie constructor user)

by Michael Layfield · in Constructor · 10/04/2007 (7:06 am) · 2 replies

I've download constructor last week and I've managed to create my first urban dif scene and exported it into TGE 1.4.2. It's an open spaced scene btw so there are no tall buildings that could cast a shadow over the roads.

Thing is every time i make my character walk over the sidewalk and road i made, his color darkens as if he was standing underneath a shade and a shadow was being casted on him.

Anything I did wrong?

#1
10/04/2007 (4:40 pm)
I have the same problem in 1.5.2. All my characters are dark while walking on a DIF surface, whether in the light or in the dark. In older versions of Torque using the same dif and dts files, the characters lit correctly based on the surface beneath them. I suspect it is a Lighting Kit/System thing, but I don't know. Maybe there's a $Pref::?
#2
10/17/2007 (11:37 am)
Non-light mapped meshes acquire lighting information from the interior or terrain directly beneath them. In the case of retrieving lighting from an interior, the mesh object samples the verts of the interior polygon the object is resting on. If all or most of the polygon's verts are shadowed the mesh object will also be shadowed.