Using my OpenGL method (here above) I’m able to properly rotate a texture over a surface, for example here I rotate it by 45°.
Using the Three.js method
texture.center.set(0.5, 0.5);
texture.rotation = deg2rad(45);
I get a wrong rotation. Everything is distorted. That’s why I need to access the texture matrix and modify it. Is anyone who knows how to do?