File: shader_phong_color.vert

package info (click to toggle)
meshlab 2020.09%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 45,124 kB
  • sloc: cpp: 400,238; ansic: 31,952; javascript: 1,578; sh: 387; yacc: 238; lex: 139; python: 86; makefile: 29
file content (10 lines) | stat: -rw-r--r-- 177 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
/// GLSL CODE
#version 120

/// Vertex Shader -- Phong Shader
void main(void)
{
   
    gl_TexCoord[0] = gl_MultiTexCoord0;
    gl_Position = gl_ProjectionMatrix * gl_Vertex;
}