Hi. I'm trying to write a toon shader, one of the first shaders i wrote, but there is a bug i can't figure out: It's using only one light and ignoring others. I've followed the source code of mib_illum_blinn, and the code seems right to me. Could you please take a look at my code? Thanks.
http://www.girisimciliknetwork.gen.tr/ozel/toon_blinn.ziphttp://www.girisimciliknetwork.gen.tr/ozel/toon\_blinn.zip