I’m a noob with WebGL, but i want to learn about that. I’m testing light sources (Spotlight), and shadows.
My problem is the behavior of light in objects, it seems like the light only focuses in one of the cube’s face. For example, the “floor” object must have the same aspect of the back wall.
I will show you a screen shot.
The textures are the same for all objects.
Do you know how to fix this problem?
Thank you all.
PS: sry my bad english