the renderstate "ShadeMode" should get your interest . set it to flat
then basically you need to take the normal and the sunDirection and calculate the dot-product of it. now multiply this with the models flat painted texture and there you go.
and finally you could render into a texture 320x240 or lower:) to add the final touch
Last edited by ello; 08/04/05 19:17.