File: normalMap.vert

package info (click to toggle)
meshlab 2022.02%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 47,348 kB
  • sloc: cpp: 536,635; ansic: 27,783; sh: 539; makefile: 36
file content (6 lines) | stat: -rw-r--r-- 149 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
varying vec3 normal;

void main(){
    normal = normalize(gl_NormalMatrix * gl_Normal);// (gl_Normal + 1.0) / 2.0;
    gl_Position = ftransform();
}