VMTK
raytrace.vert File Reference

The normal vector, the texture coordinates of the vertex, and the modelview matrix are passed to raytrace.fs. More...

Go to the source code of this file.

Namespaces

 GLSL
 

Functions

 layout (location=0) in vec4 position
 
void main (void)
 

Variables

out vec2 TexCoord
 

Detailed Description

The normal vector, the texture coordinates of the vertex, and the modelview matrix are passed to raytrace.fs.

Author
José Angel Ivan Rubianes Silva
Date
February 2015

Definition in file raytrace.vert.

Function Documentation

◆ main()

void main ( void  )

< vertex corrdinates (x,y,z,w)

< vertex´s texture coordinates (r,g,b,a)

Definition at line 19 of file raytrace.vert.

Variable Documentation

◆ TexCoord

out vec2 TexCoord

texture coordinates associaed to the vertex

Definition at line 13 of file raytrace.vert.