Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: chrisras on October 13, 2008, 03:46:45 PM
-
I have some strange Shadows between the legs of my 3D-Actor.
(http://lh3.ggpht.com/Crasulis/SPNe-6v0EGI/AAAAAAAABGI/YkKcWPpIhKo/s144/screen.jpg)
Anyone an idea what could cause that?
-
Hard to say, because the image is quite small :) .
Have you tried to alter the shadow-light-source-position in the actor file?
LIGHT_POSITION { x, y, z }// change values
Perhaps the light is stuck inside the actor mesh and that causes these artefacts.
-
I played around with the position of the light, but the strange shadow lines in the middle of my actors legs stayed...
I tried putting the light inside the actor, for comparing the effect, and that looks completly different than my bug.
I also tried giving my actor a lowpoly-model for shadowing, but the shadow-lines stayed there.
Could it be a problem with my 3dmax-file?
But it seems fine...
-
Have you tried different clipping values in the scene editor?
-
Or if you are using separate shadow model make sure that you rigged it good
-
Perhaps your model contains holes (unconnected vertices)? So the shadow volume leaks through.
-
Thanks for the help!
It was really a rigging problem.
In 3DsMax it showed up fine but in the engine one of the vertices behaved very strange.
It was connected to a bone, I tried around with different weights, but it always ended up on
the floor in Wintermute... So eventually I edited the mesh and deleted the vertex.
And now everything looks perfect :)