In my shader i need an inverted matrix (4*4).
I had hoped that there was a built in function for inverting a matrix, but in all threads I found on this topic was said, that you have to write you're own.
Wouldn't it be nice, if some Guru could post his or her code for this task (in GLSL of course) because i guess many people have a problem with this, including me, and people need this quite often i think. I need it for doing shadow mapping, and im finnished with it exept with this function, this is so weird...
So can someone do that pleeeeaaaase?
(or maybe it is already there and i havn't found it, could you please give me a link in this case?)
Thanks a lot,