Jump to content

Home

Lighting


inpsyte

Recommended Posts

I am working on a multi-player map, and I want to add an ambient light like ffa_bespin (if that is an ambient light) either way I want it lit up like ffa_bespin, Richdeisils tutorials have been very helpful but I could not find anything about ambient lighting, please help me out

 

thank you

-inpsyte-

Link to comment
Share on other sites

It takes two keys to add ambient light to a map.

 

First, open up the Worldspawn entity in the Entity menu (press N with nothing selected). Make sure you select Worldspawn, then enter:

 

key = _ambient

value = 30 (this is similar to assigning a brightness value when creating a light entity... don't put it too high, though.

 

key = _color

value = 1 1 1 (These numbers correspond to RGB values... 1 1 1 is white, 0 0 0 is black).

 

But if you're looking for something like a ffa_bespin style lighting... I think they used a light emitting sky shader.

Link to comment
Share on other sites

Take a few hours to read, over and over and over again, the Quake III Arena Shader Bible. After you read it, read it again. Then, just for good measure, read it three more times. Completely. Don't skim. Then, after you feel like you fully, completely, totally understand the basics, the part you will be interested in is the part about skyparms and q3map_surfacelight. Once you've got that down, you should head over to shaderlab and read the q3map2 manual to understand q3map_skylight--it's a little more useful than just the normal surfacelight.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...