But one should make a seperate Shadow.ShadowProjector objects for each avatar. Hence, as I get, SHADOW_AREA is not the area that all the shadows should be contained in, rather it represents a box that each shadow should fit in. Please correct me if I'm wrong.
I suspect that because ShadowProjector is using the projector module in wizard and the projector module is limited by OpenGL's limit of 4 textures on a surface, only 3 avatar shadow textures + the surface's own texture is being applied.
Do you know of any alternatives?
Best,
Omid
|