PDA

View Full Version : Light behavior



rpard
12-16-2011, 03:59 AM
Hi everybody.
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.

http://dl.dropbox.com/u/53586268/example.jpg

The textures are the same for all objects.
Do you know how to fix this problem?

Thank you all.
PS: sry my bad english :-)