Inverse View matrix in shaders
by Ilusis · in Torque Game Engine Advanced · 09/25/2009 (6:47 pm) · 2 replies
I'm having some troubles using shaders in torque, I need to use the Inverse View and Inverse World matrices, but I can't find anywhere how to do it. It would be great if someone could help me! (sorry for my english, not my first language)
About the author
Torque Owner Adrian W
it should give you some idea of where start. I think you'd have to do something like add some new handles to class ShaderConstHandles and then populate them in the above function, something like
and edit shaders\shdrConsts.h to match.