Jump to content

Home

*sigh* Damned lighting


Phaedrus

Recommended Posts

Posted

I'm trying to make a nice beachy sunshiney level and I was wondering how to give the level and even lighted look. Something that looks like the sun is the primary source for light but I'm not really sure.

 

Any quick solutions?

Posted

either a lighted shader for your sky or ambient light

 

 

as far as the sky shader just go into textures->skies and pick a shader ( i believe they are the ones that don't show up, are just the little black and blue boxes)..

 

ambient light i haven't been able to figure out yet, you are suppose to set it by the worldspawn entity , but still hav eyet to get it to work.

Posted

Ambient light :

 

worldspawn entity

 

key : ambient

value 10

key : _color

value : 1 1 1

 

Just an example, you can play around with the values, but make sure you always define your _color key as well, otherwise ambient light won't work properly.

Posted

Quickest and easiest way to find light values is to add a light to your level then with it selected hit the k key pick the colour you want click ok then hit the n key to bring up the entity info and take the vaules from the _color key

 

white btw is 1 1 1

 

hope this helps

later

gizmo

Posted

Unikorn: Where are we supposed to type "ambient"...and I'm not quite sure I understand _color either...I mean, I found the worldspawn, but it has its own key and its own classname...so I'm at a loss...

Posted

Well when you pull up the entity tab(n key) you'll see 2 text boxes at the bottom one says key next to it and the other says value.....

 

type ambient into the key box

and 10 into the value box

now hit enter to add this to the worldspawn

 

now go back to the key box clear it and then type _color

then move to the value box clear it and type 1 1 1

 

again hit enter to add this to the worldspawn

 

your map now on compile will have an ambient lighting level of 10 the color of which will be white

 

for an easy way to find other _color values see my post above in this thread

 

laters

gizmo

Posted

Ok i got alot of stuff working such as glass.... but i wanna add some hangin vines in my level (i think the texture is vinealpha or somthing.... but its got the vines then some plain green stuff... ingame it looks the same.

BTW i cant find a shader with the name...

Posted

I almost have the same problem, but for me, ground and everything is black, while the sky is nice and bright. I picked the yavin skybox, I have selected the checkered box-thing with the white frame... What am I doing wrong, i need some serious help!!

Archived

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

×
×
  • Create New...