Page 1 of 1

Terrainn & advance lighting problems

Posted: April 5th, 2013, 11:19 am
by Lossy
I'm getting this problem with terrian where it shows holes in terrian ingame, after compiling the map couple times, do note that I'm compiling with "Fast" mode on, and im not sure what causes this, is this cause due to the fact that I'm compiling on fast, will it fix itself when i compile on extra like bad shadows do?


Also the advance lighting problem, I can see source of the light, but not all of it, can't really think of the word of what I mean, but yeah, i can only see some parts of the light through water, I've tried multiple things and the only thing that solved it, is putting terrain in the way, but I don't want to put terrain in the way all the time since I'll need the activator to be able to see out(on one part of the map). Will this be solved when compiling on extra as on both maps I'm compiling on fast. (one of the maps aren't for deathrun so i can easily put terrain in the way of it)

Here some videos explaining what I mean, bare in mind, I don't get any errors coming from the terrian nor the lights etc...

http://www.xfire.com/video/5f0743

http://www.xfire.com/video/5f0747

I'll try to do more testing if no one can help and hopefully solve it. :s

Re: Terrainn & advance lighting problems

Posted: April 5th, 2013, 11:57 am
by fishy
Looks like a problem with the light map. With the map loaded in radiant hit shift + l. Everything in the map should change to black and white squares. Select the problem patches and press s to bring up the surface inspector, select natural in the patch texturing bit. When you recompile it should be fixed.

Re: Terrainn & advance lighting problems

Posted: April 5th, 2013, 12:05 pm
by Rezil
The water problem might be fixed with setting the water patch alpha channel. Select your water patch, press V, select all the vertices, press G and set the alpha value of the vertices. If done correctly, the water patch should start to 'fade' and become transparent. I'm not sure whether all water textures support it but the one in mp_backlot(street gutters) definitely does.

I also suggest you re-do the mountain wall patch, it seems to have bugged out.

Re: Terrainn & advance lighting problems

Posted: April 5th, 2013, 12:44 pm
by Lossy
Ah... oh my i feel like the biggest idiot ever for not thinking of that, anyway both are fix, thanks. :)

Re: Terrainn & advance lighting problems

Posted: April 7th, 2013, 12:37 am
by Drofder2004
To fix lighting problems on terrain:

Press Shift+L
Select Terrain
Press S
Select LMAP
Press Shift+L (twice) to return to normal.

Water issue is caused by using a decal texture. The game confuses the order of decal draw and bullet marks get drawn over the decal - happens with glass also.