diff --git a/code/nel/src/3d/driver/OpenGL3/driver_opengl_material.cpp b/code/nel/src/3d/driver/OpenGL3/driver_opengl_material.cpp index 3b44c5d23..9c29c8459 100644 --- a/code/nel/src/3d/driver/OpenGL3/driver_opengl_material.cpp +++ b/code/nel/src/3d/driver/OpenGL3/driver_opengl_material.cpp @@ -624,6 +624,11 @@ bool CDriverGL3::setupDynMatPass( uint pass ) if( !setupDynMatProgram( *_CurrentMaterial, pass ) ) return false; + + if( ( _CurrentMaterial->getFlags() & IDRV_MAT_DOUBLE_SIDED ) != 0 ) + _DriverGLStates.enableCullFace( false ); + else + _DriverGLStates.enableCullFace( true ); CDynMaterial *m = _CurrentMaterial->getDynMat(); SRenderPass *p = m->getPass( pass );