Page 1 of 1

light

Posted: Fri Feb 09, 2007 8:42 am
by ViPER
im using fast light and getting no shadows on the terrain? How to cast shadows from brushes on terrain? I get shadows on other brushes.

shadows

Posted: Fri Feb 09, 2007 11:19 am
by tltrude
Check the surface properties of your terrain texture -- (key S).

Posted: Sat Feb 10, 2007 7:49 pm
by ViPER
no luck

What do i check? i tried alpha shadow and castshadows. nolight should not be checked right? :?

texture

Posted: Sun Feb 11, 2007 2:21 am
by tltrude
Which texture are you using for the terrain?

Posted: Sun Feb 11, 2007 2:42 am
by ViPER
It is one Atomic used in western europe from skylimit seen here -


Image


Image

Image

grass

Posted: Sun Feb 11, 2007 7:47 am
by tltrude
Try a different grass texture, one that is original to the game.

Posted: Sun Feb 11, 2007 10:01 am
by jv_map
Eh yah just remove the surfaceparm nolightmap from the shader... skylimit terrain textures don't have lightmaps...

Posted: Sun Feb 11, 2007 10:26 am
by ViPER
Thanks. that was it- when Tom said stock texture i copied the stock shader to the WE hills texture.

Posted: Thu Feb 15, 2007 8:55 am
by ViPER
when using light - what causes the seems on terrain to bleed lighter color. looks like all the connecting edges were taped

Posted: Thu Feb 15, 2007 9:20 am
by jv_map
Possibly another shader problem. q3map_globaltexture has this kind of side effect.

Posted: Sat May 12, 2007 7:07 pm
by ViPER
sorry - back to this again. I noticed these light terrain streaks are more pronounced when the compile is darker - the darker the terrain the more pronounced the light streaks at the seems. Im trying to pronounce the shadows of the stones by turning the light down a little - but then i get these streaks more pronounced - maybe a better trick, reduce bounce (how?) or something?

do ambient, ambientlight and suncolor all effect terrain ?

Posted: Sun May 13, 2007 5:08 am
by ViPER
well i couldnt really figure if the three light options effect terrain differently - but

-bounce 1

definetley enhances the shadows without washing the ground.

streaks

Posted: Mon May 14, 2007 3:36 am
by tltrude
Could you post a screenshot of the "light terrain streaks"?

Posted: Mon May 14, 2007 7:00 am
by ViPER
the seems are where the brushes connect.


Image

Brush?

Posted: Mon May 14, 2007 8:35 am
by tltrude
Ok, by "brushes" I'm guessing you mean solid brushes and not LOD Terrain. It is probably still a texture problem. You should try an original one like "misc_outside/nu_grass_set2_sp".

To make the shadows sharper, highlight the faces of the grass near the stones and hit key S. Look for the "Intensity" and "Density" windows. Not sure which, but one of them makes the shadows sharper if you change it to 1. Doing that will also increase the compile time and probably lower preformance (fps). Try lower numbers (like .2) and increase until it looks good. But don't go over 1.

If you make suncolor 70 70 70 in worldspawn, you will have full sunlight. Ambientlight is how bright the shadows are, so set it lower to darken them.