Category : light

I’m trying to make my light move around the z-axis and make a complete tour, but I get only half a tour. This is what I wrote: float value=0; LightPos.z = cos(value) + sin (value); value+=0.2; How can I solve this? Source: Windows Que..

Read more

I have this code but the light seems not working correctly, when I render the object it’s dark, then when I rotate it, the light source seems to be rotated too. I can’t figure out where the problem is. I tried to modify the model for the light but still not working this is the ..

Read more