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.