Page MenuHomec4science

vertex_shader.glsl
No OneTemporary

File Metadata

Created
Thu, Dec 12, 20:06

vertex_shader.glsl

attribute vec3 sommet;
attribute vec3 couleur;
uniform mat4 projection;
uniform mat4 vue_modele;
varying vec3 ma_couleur;
void main()
{
gl_Position = projection * vue_modele * vec4(sommet, 1.0);
ma_couleur = couleur;
}

Event Timeline