I am trying to implement a fading effect by increasing material transparency. I duplicated the DiffAlpha technique, and changed depth write from false to true. Now the object fades properly, but its lighting seems gone, and become dimmed.
I tried to add additional passes, but I can only get either lighting properly or fading properly, never both. Any suggestions?