It's amazing how much cool stuff people came up with with just a simple shader like this :) . After all the reactions on this shader I decided I should sign up here and offer some follow up... (some of them have been partially answered before though) 1) The current max shader peppi posted transforms the normals into view…
arrangemonk: you can take a look at my (toon) shader.. it supports several texture slots you can enable/disable .. including lightspheres and diffuse I hope I'm not capturing this thread with this advertisement.. so kill this post if you think so!
and now how about making it usefull with atleast a diffusemap and such stuff, i still didnt understand the math really (from what i know is retransformating the normals from tangent space to camera space so that the normal vector points to the correspondending pixel in the spheremap) i tried to acomplish this in shaderfx…