three light system and multipass?

Started by
0 comments, last by MJP 12 years, 7 months ago
hello.
i'm got an advice on the three point lighting system, this:
http://www.3drender....ght/3point.html
I've read and tried it in fxcomposer in an example and i have obtained a good result.
now i must use the shader in xna
my problem now is :
1)i must do a multipass shader where each pass i binds one light or is better create a shader and pass three lights as a parameter?
what are the pro and cons
2)how calculate the position of the three lights from the three angle that is known

thanks.
Advertisement
BasicEffect already supports three lights, and IIRC they did this specifically so that it could support three point lighting.

This topic is closed to new replies.

Advertisement