sun light in DP

Discuss the construction of maps and the tools to create maps for 3D games.
Chip
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland
Contact:

Re: sun light in DP

Post by Chip »

frag.machine wrote:
toneddu2000 wrote:This is Darkplaces Engine. And this seems to be dynamic! How they did this?! :shock:
I'd be happy with just the smooth transition between day/night skyboxes. How can I get this in DP ? Shaders ?
I did a sun once using shaders and q3bsp and Q3Map2 in DP. But it was not moving.
I also read (don't remember where) about some special shader instructions to move the origin of the sun every second/millisecond/whatever.

Another way would be to manipulate QuakeC, or even CSCQ (not sure) to generate a shader on the fly and apply a slight origin change.

I'd go with the first version if I could find those instructions.
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
Post Reply