Here is a pic,two perpedicualr plane light by a default point light ,
Is there any math trick to smooth between the two focals?
Move the light away from the vertical plane until it is equidistant to both planes. (That’s just how light works.)
Thanks, Daniel
But I dont think it is an easy,common way,especially there is an animation attached on the light source
I am curious about any math trick used when diffuse is caculated by dot(N,L);
I’m not sure what kind of trick you’re expecting. I suppose you could remove NdotL entirely, since that is what causes the discontinuity. That’s a pretty important part of the Lambertian lighting model (kind of the whole idea), though, and it will probably look undesirably incorrect in a lot of places.