autoshader:undefined variable "tot_diffuse" (w/ light ramps)

Talking to myself to keep related things linked…

The development ideas have been tested, and there is a new thread about them at: