phong shading->No playermodel shadow ?


(Tweety) #1

Hi…

I have been testing -shade option.
This is what I added to my shadersfiles:

q3map_nonplanar
q3map_shadeAngle 90

(Hope it is all I need for phong shading?!?)
my compileoptions:

-light -super 2 -patchshadows -shade -fastbounce -bounce 2

Player models don´t cast a shadow on this texture. Also try “cg_thirdperson 1”.
Looks a bit strange, all models fly over the ground.
Can this be fixed or is there something wrong in my shaderfile?

greetings
Tweety


(deepclone) #2

q3map_nonplanar makes the player shadow go. And u don’t need it for phong.

/deep


(ydnar) #3

Quake 3’s renderer doesn’t handle shadows or any other type of projected mark on nonplanar geometry. This is a known limitation.

q3map_nonplanar makes the geometry meshed together into the most efficient representation. If you omit it, your do so at r_speeds peril. :wink:

y


(Tweety) #4

That´s it… :lookaround:

deleted q3map_nonplanar and now it works fine.

Thx