Jump to content

Home

*sigh* Damned lighting


Phaedrus

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...