Jump to content
  • Advertisement
Sign in to follow this  
hossainiir

[SOLVED]Shading a skin mesh with shadow map technique

This topic is 2852 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi evry one,
i'm looking for a descrption or a sample that use shadow map technique for shading a skin mesh, any body can help me???

the problem is that shading work good for regular meshs, but for skined mesh does't work good.

[Edited by - hossainiir on September 1, 2010 3:16:27 AM]

Share this post


Link to post
Share on other sites
Advertisement
I think tath i must change my question!!!
the question is:
how can i post a skinned mesh to vertex shader???
some one help me ,please.

Share this post


Link to post
Share on other sites
If you google for "skinned mesh shader hlsl," there are several hits which have shader code for doing just that.

Share this post


Link to post
Share on other sites
Thanks Aqua Costa,Buckeye.
problem solved, the skin mesh sample in DirectX SDK solve this problem, after using hlsl shader indexed skinning and changing some code of SkinnedMesh.fx i could calculate depth map of skinned mesh.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!