This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
csce441pine64backup/L05/resources/simple_vert.glsl
2017-02-28 07:48:39 -06:00

12 lines
185 B
GLSL

#version 120
uniform mat4 P;
attribute vec3 vertPos;
attribute vec3 vertCol;
varying vec3 vMyColor;
void main()
{
gl_Position = P * vec4(vertPos, 1.0);
vMyColor = 1.0 * vertCol;
}