Hey guys. I'm having a strange issue with the WorldShadowMap environment effect. The issue I'm having is the shadow texture is being cast on
some objects, but not
all of them, or at least not the ones on which I want it to be cast. :V
No work!
Worko!
The path model is split up into five pieces. Here are the three main pieces:
Here is the appropriate section from my ENVFX file:
Code: Select all
Effect("WorldShadowMap")
{
Enable(1);
Texture("PIO_shadow_sun");
LightName("sun");
TextureScale(750.0); // 600.0
AnimationFrequency(0.0);
AnimationAmplitude0(0.0, 0.0);
AnimationAmplitude1(0.0, 0.0);
}
And here is the shadow map texture:
(Note: The upper-half of the texture is what encompasses the majority of the map.)
Merging all of the path objects into one model makes no difference. All of the path objects share the same material.
Path material settings:
Why is the shadow map cast properly on some of the path objects but improperly on others? Is there any way to fix this issue?