You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the following line should be changed; // Actually mandatory only in OpenGL 3.3 - don't do it if ofIsGLProgrammableRenderer() == false if (!ofIsGLProgrammableRenderer()) { const ofMatrix4x4 normalMatrix = ofMatrix4x4::getTransposedOf(cam.getModelViewMatrix().getInverse()); displaceShader.setNormalMatrix(normalMatrix); }
to
// Actually mandatory only in OpenGL 3.3 - don't do it if ofIsGLProgrammableRenderer() == false if (!ofIsGLProgrammableRenderer()) { const ofMatrix4x4 normalMatrix = ofMatrix4x4::getTransposedOf(cam.getModelViewMatrix()); displaceShader.setNormalMatrix(normalMatrix.getInverse()); }
The text was updated successfully, but these errors were encountered:
the following line should be changed;
// Actually mandatory only in OpenGL 3.3 - don't do it if ofIsGLProgrammableRenderer() == false if (!ofIsGLProgrammableRenderer()) { const ofMatrix4x4 normalMatrix = ofMatrix4x4::getTransposedOf(cam.getModelViewMatrix().getInverse()); displaceShader.setNormalMatrix(normalMatrix); }
to
// Actually mandatory only in OpenGL 3.3 - don't do it if ofIsGLProgrammableRenderer() == false if (!ofIsGLProgrammableRenderer()) { const ofMatrix4x4 normalMatrix = ofMatrix4x4::getTransposedOf(cam.getModelViewMatrix()); displaceShader.setNormalMatrix(normalMatrix.getInverse()); }
The text was updated successfully, but these errors were encountered: