Opengl, Computer Graphics, Shaders, Texture, Shading.
face. That is, it is visible. We can handle this in shader either. Shader program example (Gouraud shading) vertex shader in vec4 vPosition; in vec3 vNormal; //using vPosition & vNormal attribute, we calculate this out vec4 color; // vertex shade // light and material properties uniform vec4