C language function:glLightModeli sample codes

Search sample code in the internet.It is the result.



glLightModeli( GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE );.......
http://cse.csusb.edu/tongyu/courses/cs621/notes/color.php


TITLE : QOpenGLFunctions_2_0 Class | Qt GUI 5.9
void glLightModeli(GLenum pname, GLint param).......
http://doc.qt.io/qt-5/qopenglfunctions-2-0.html
TITLE : QOpenGLFunctions_2_0 Class | Qt GUI 5.9
void QOpenGLFunctions_2_0::glLightModeli(GLenum pname, GLint param).......
http://doc.qt.io/qt-5/qopenglfunctions-2-0.html
TITLE : Simple renderer in .net with SharpGL (openGL)
glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, 1);.......
http://forums.ldraw.org/thread-10874.html
TITLE : assimp/Sample_SimpleOpenGL.c at master assimp/assimp GitHub
glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);.......
http://github.com/assimp/assimp/blob/master/samples/SimpleOpenGL/Sample_SimpleOpenGL.c
TITLE : 3D Graphics « Greg Dolley’s Weblog
glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR);.......
http://gregs-blog.com/category/3d-graphics/
TITLE : Lighting Interfaces
gGLFT->glLightModeli(MGL_LIGHT_MODEL_TWO_SIDE, 1);.......
http://help.autodesk.com/cloudhelp/2017/ENU/Maya-SDK/files/GUID-D1853655-D22D-4B1C-8CBD-528CD1903B0E.htm
TITLE : Lighting Interfaces
gGLFT->glLightModeli(MGL_LIGHT_MODEL_TWO_SIDE, 0);.......
http://help.autodesk.com/cloudhelp/2017/ENU/Maya-SDK/files/GUID-D1853655-D22D-4B1C-8CBD-528CD1903B0E.htm
TITLE : Introduction to Computer Graphics, Section 4.2 -- Light and Material in OpenGL 1.1
void glLightModeli( int property, int value ).......
http://math.hws.edu/graphicsbook/c4/s2.html
TITLE : Introduction to Computer Graphics, Section 4.2 -- Light and Material in OpenGL 1.1
glLightModeli( GL_LIGHT_MODEL_TWO_SIDE, 1 ); // Turn on two-sided lighting........
http://math.hws.edu/graphicsbook/c4/s2.html
TITLE : glLightModeli function (Windows)
void WINAPI glLightModeli(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/dd373583(v=vs.85).aspx
search Google

https://www.google.com/#q=glLightModeli