- Home /
webgl rotate texture on the face of cube using glmatrix
i need help with webgl.
i draw a simple cube and apply texture on each face of cube,and i am rotating the texture on the each face of the cube but the problem is:
the texture does not rotate around itself it rotate's around left bottom corner of the cube:
full code is on http://graficd.tk/ press T on the keyboard to see the problem.
Comment