Game Development Community

turn off the sun

by Desmond Fletcher · in Artist Corner · 02/03/2002 (12:54 pm) · 3 replies

Anyone know how to completely turn off the sun? I want to have the terrain only lit by light_omni ents from the dif.

I removed the mission file sun, but the terrain still has some ambient light. And Torque squawks if I turn off the fog completely.

#1
02/03/2002 (1:29 pm)
You could probably set the ambient light to none. Not sure without looking at it....can't at the moment...if I see Ill post here.

-Tim aka Spock
#2
02/04/2002 (6:32 am)
I don't think the lights from the interiors affect the terrain at all, but I could be wrong, I did a simpletest on this once, where I made a lamppost in WC.
The light only lit up the WC modle not the terrain.

If you got it working it could be nice with a screenshot, I would like to see how it looks.

// Clocks out
#3
02/04/2002 (7:50 am)
I turned off everything (even removed the sun from the mission file). As I said, there has to a little fog color or Torque will crash. But the terrain still has some light whereever the player goes. I want darkness! :) But looking back at a map I did with lampposts also, I see that the terrain is not lit, just the building next to the lamppost.

This all came from wanting to have a campfire scene :)

Edit:
since I couldn't totally remove the fog, I changed the fogvolumecolor settings to 0 0 0 1
fogVolumeColor1 = "0.000000 0.000000 0.000000 1.000000";
and raised the fogvolume to cover the scene with low visible distance:
fogVolume1 = "10 2 210";

This created almost the effect I am looking for, there is still a bit of the flashlight effect on the terrain, but its an improvement:

holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/effects/img/campfire2.png