Hullo, I’ve got a fairly simple question. I’ve come to understand how to write new shaders using Unity’s streamlined Surface Shader setup and their new Standard and StandardSpecular lighting modes. I’ve also learned how to add a rim light using a Fresnel transformation on the Emissive channel. But what I really want is to have the rim light be based on incoming light rather than causing its own emission.
This may also be a good time to ask how I might apply a shading ramp while using Standard lighting. I’m assuming that I’ll ultimately have to rewrite the lighting function, but I can’t seem to find any reference on how to write a custom Standard lighting shader. Any help on this subject would be most appreciated.