Multitexture and multiple lights (shader)

Started by grog, May 03, 2013, 02:47:48 AM

Previous topic - Next topic

grog

Is it the case that only one light is passed to the shader when you use multitexturing?  Seems like my multitextured faces are only affected by one of the lights in my world.

Edit: OK, by manually assigning the shader to my Object3D instead of just overriding the default shaders, all lights seem to be affecting it,but my shader is also behaving differently in general.  The light attenuation seems to be much greater after assigning manually such that the lights affect a much smaller area than they did before and the scene looks way darker overall.  I am a shader novice, so I don't really know what to make of this.  Would appreciate any help.

Edit2: I think I was just confused about which default shaders I had actually overridden. Everything seems to be in order, so this thread may be disregarded.