PDA

View Full Version : phong shading->No playermodel shadow ?


Tweety
4th January 2003, 11:48
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
4th January 2003, 12:40
q3map_nonplanar makes the player shadow go. And u don't need it for phong.

/deep

ydnar
4th January 2003, 15:59
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. ;)

y

Tweety
5th January 2003, 13:58
That´s it... :lookaround:

deleted q3map_nonplanar and now it works fine.

Thx