https://github.com/sueda/eol-cloth
Raw File
Tip revision: cc8f24eef81283c541b859c05dd8ceed7813271f authored by Shinjiro Sueda on 15 October 2019, 01:48:02 UTC
Update README.md
Tip revision: cc8f24e
simple_vert.glsl
#version 120

uniform mat4 P;
uniform mat4 MV;
varying vec3 color;

void main()
{
	gl_Position = P * MV * gl_Vertex;
	color = gl_Color.rgb;
}
back to top