Ok, but if I want the dark to be totaly black? :P
Quote:
OrangyTang Daivuk, you lighting model is flawed. Because you accumulate all the light intensities together and only modulate by your texture once at the end you'll loose a whole load of precision and won't get proper overbright behaviour. You need to do a texture modulation after every light pass.
Hum, that's a good idea :). Its true that I lost a lot of precision. All become too bright. Thanks. Ya, I can use multitexturing of course :P.
But, I will not update my tutorial with thoose modif, probably another little tut à the end. Because I want to show the basic and the base of the concept first :). But I will probably add those at the end (to enhance your visual aspect). And your names of course : proposed by :