I think you can use a dot product between mesh normals and sun direction to blend between the materials, no?<br>