maybe a better result by adding factor on this line :
li = lighti[2];
and also can play with these lines at begin og the phong section :
float spec = 32.0000;
float tran = 1.00000;
(same parameters than phong operators)
Return to Development and contribution
Users browsing this forum: No registered users and 27 guests