A
A
Andrey Frolov2014-12-21 01:14:44
OpenGL
Andrey Frolov, 2014-12-21 01:14:44

How to calculate gl_normalmatrix for shader in opengl es 2.0?

Actually, how to get this matrix to transfer it to the shader?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Basmanov, 2014-12-23
@BasmanovDaniil

It says here that gl_NormalMatrixittranspose(inverse(gl_ModelViewMatrix))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question