Rendu
A lightweight rendering engine for experimentations
|
Colored object vertex shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec3 | v |
Position. | |
in vec3 | n |
Normal. | |
uniform mat4 | mvp |
The transformation matrix. | |
uniform mat4 | normalMat |
Model to world space for normals. | |
out vec3 | n |
The world space normal. | |
Colored object vertex shader.
|
inline |
Apply the MVP transformation to the input vertex.