Jump to content

Home

Day to night?


Whitey

Recommended Posts

Any light entity can be turned on and off, if you make a sun with a light and an info_null, try targetting the sun with a trigger and seeing if it turns it off...that's if it works after compiling because the extra lightmap data could potentially be huge.

 

For a slow fading effect you can apply a _style to the sun but the same error can potentially occur.

Link to comment
Share on other sites

i was thinking something like, you have 6 lights in a room, you give 2 of them a targetname, pick another 2, and give them a targetname, then make a script that uses the first 2, and then add a wait for like 5-10 seconds, and then it uses the next 2, therefore gradually (also messily) decreasing the light. But what wade said will work too... just using a script could be automatic, and it will come on and off.

Link to comment
Share on other sites

We're still a way off having a game that can move the sun across the sky ** as that would require dynamic lightmaps.....possible with vertex lit games of course but vertex lighting is never as smooth as lightmapped texture.

 

**Although the latest video cards fully support this in real time now, visit NVidia.com and view their day to night real time sample video of a high poly gas station.

Link to comment
Share on other sites

Ah... to confusing for a newbie map maker like me :D . The reason I was wondering was that I made a map a while ago(battlearena) and I have been expanding upon it... And somehow I changed the sky to a night map.. And I think it looks really cool.. Maybe I should just make it 2 differeent maps, one day, and one night...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...