ugly shadows on terrain


(gynec) #1

I got a problem with my terrain (created with easygen 1.42 and compiled with q3map2 2.5.3).
As you can see at the screenshots there are ugly shadows on the terrain.
There is just a skybox around the terrain. I think the terrain cast shadows to itself.
Please help!


#2: I need a very high skybox which takes long to compile. How can i speed up the sky lighting?


(Detoeni) #2

Might be an idea to post your shaders, and get a up-to-date q3map2 instead of one thats 18 months old.


(gynec) #3

yes of course.
but i cant start q3map2toolz for some reason.
can i replace the gtkradiant q3map2 with a newer version?
the shaders are generated by easygen.


(Detoeni) #4

See here for changing radiant/q3map2 set up (you’'ll need to change to suit the game your using):
http://www.wolfensteinx.com/surface/forums/showthread.php?s=6438953dfa6bf813c1e1a44ec1b8e399&threadid=1301

When you get your new q3map2 see the lmt.doc for info on rewriting the terrain shader.

and see here for changes to you sky shader:
http://shaderlab.com/q3map2/shader_manual/apI.html


(The5thHorsemen) #5

remove the terrian enentiy from the worldspawn…
but leave the heightmap path.


(pazur) #6

check this if you have trouble with q3map2 toolz: http://www.map-center.com/modules.php?name=Forums&file=viewtopic&t=6468

btw: your terrain shadows problem looks to me like a wrong shader of the terrain. easygen creates nice q3map2 shader files :moo:


(obsidian) #7

Try using q3map_lightmapSampleOffset:

http://shaderlab.com/q3map2/shader_manual/ch3.html#lightmapsampleoffset

As a last resort, try q3map_splotchFix. May look wierd on some terrain and is generally not recommended unless q3map_lightmapSampleOffset doesn’t help.

http://shaderlab.com/q3map2/shader_manual/ch3.html#splotchfix


(gynec) #8

If you are interested in, i solved this problem.
I deleted some shader code and it worked.
Seems that sof2 didnt accept it.