Hello,

i have a model with i.e. 3 textures , 3 submeshes and 3 shaders. The shader do the same for all 3 submeshes: He combine entSkin1 with entskin2.

Every mesh needs his own shadowmap.
It s not possible to have one shadowmap for 3 submeshes as one.

[Linked Image]

Skin1,Skin2,Skin3 are Shadowmaps with second coordinates.
Other Skins have a Shader on the texture set by MED (effect).


If i set the first Shadowmap to mesh 1, the result is right.
If i set the second Shadowmap to mesh2, the result is wrong.

The mapping from mesh1 is broken, mesh 2 is ok.
If i set the third Shadowmap to mesh3, the result is wrong.
The mapping from mesh1 and mesh2 is broken.

Any idea?

Last edited by Ayumi; 02/28/22 19:31.