Game Development Community

Disable Shadows

by Shawn Simas · in Torque Game Engine · 06/11/2006 (1:13 am) · 3 replies

How can I go about disable shadows on everything?
I just don't need them...
Players/Items/StaticShapes/etc?

Is there an easy to way to go about this?
Thanks.

#1
06/11/2006 (7:40 am)
In prefs.cs, change $pref::shadows to 0 and that should do it, theoretically.
#2
06/11/2006 (9:01 pm)
Yes. That works.
Now I can just look at where the engine reads that, hard code it to 0 and not have to worry anymore.

Thank you.
#3
06/12/2006 (10:14 am)
Hi guys,

The shadow detail is set in 'starter.fps/client/init.cs' at:

setShadowDetailLevel( $pref::shadows );


You set it to always pass in 0:

setShadowDetailLevel(0);