Skinning problem using fx file

Started by
20 comments, last by Saad Manzur 10 years, 1 month ago

The output is the all vertices weight data printed in order. Its before I feed this to the shader. But I still can't debug the shader. Is it possible to make some kind of debug file from the shader. I mean to see what the shader variables are set to

Edit : The weight garbage solved . I did not assign 0 to the last slot of the weight[] .

I can clearly see that if I use the VS() inside the skin.fx . It works normally. But when I use the Light1TexSkinned or any other that calls SkinnedVS() it all messes up. So, my guess is i have an error in setting the variable which this function uses.

Advertisement

I just don't get why can't I debug the shader code. What the hell is this shader trace error. Any other way to manually debug ?

This topic is closed to new replies.

Advertisement