![]() |
VMTK
|
The color of the vertex is computed on the basis of its coordinates. More...
Go to the source code of this file.
Namespaces | |
GLSL | |
Functions | |
layout (location=0) in vec4 position | |
void | main (void) |
Main function. | |
Variables | |
out vec4 | vColor |
uniform vec4 | color |
uniform mat4 | mvp_matrix |
uniform vec4 | scaleFactors |
The color of the vertex is computed on the basis of its coordinates.
Definition in file position_is_color.vert.
out vec4 vColor |
color (R,G,B,A) to be passed to position_is_color.fs
Definition at line 12 of file position_is_color.vert.