Page MenuHomec4science

vertex_shader.glsl
No OneTemporary

File Metadata

Created
Wed, Dec 4, 23:37

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