Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualNyssa

Posted 05 January 2013 - 08:30 PM

2 things I'd try...

1) Instead of:

effMacros[0].Definition = to_string(MAX_BONES_MATRICES).c_str();

 

Try:

effMacros[0].Definition = "40";

 

2) Is it a compile time error? If it's happening at runtime, make sure you are sending 40 matrices to the effect before rendering


#1Nyssa

Posted 05 January 2013 - 08:25 PM

2 things I'd try...

1) Instead of:

effMacros[0].Definition = to_string(MAX_BONES_MATRICES).c_str();

 

Try:

effMacros[0].Definition = "40";

 

2) Also make sure you are sending 40 matrices to the effect before rendering


PARTNERS