qbism/q2tools-220

Sunlight question

Closed this issue · 2 comments

Hello!
Nice work for your 220 q2tools!
I'm a mapper here!
4rad seems to manage sunlight. I tried to use the old arghrad setting for this, but it dosent seems to work. Is there a documentation somewhere?
Ty

qbism commented

The sun system is based on DeWan's qrad3.
Screenshots attached an gist of the tutorial found below:
http://tastyspleen.net/~panjoo/rust/tutorials/sun/The%20sun%20is%20neater%20than%20you%20thought!.htm

First, create a light and target it to an info_null. This will be your sun's angle.

Next, add the _sun key to your worldspawn, and enter the targetname of the info_null.

Make sure all of your sky textures have the light flag checked and a light value.

Add the _sun_light value to your worldspawn, and give it a light value.

Add the _sun_ambient value to your worldspawn, and give it a light value.

Add a _sun_color value to your worldspawn, and give it a value.

sun-shot-1
sun-shot-2
sun-shot-3

Thank you!