Skip to content
Permalink
83cc2c6d7d
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
18 lines (15 sloc) 458 Bytes
#version 330
// these are for the programmable pipeline system and are passed in
// by default from OpenFrameworks
layout(location = 0) in vec4 vertexPosition_ModelSpace;
layout (location = 1) in float alpha;
out float v_alpha;
uniform vec4 Color;
uniform mat4 ProjectionMatrix;
uniform mat4 ModelMatrix;
uniform mat4 ViewMatrix;
void main()
{
v_alpha = alpha;
gl_Position = ProjectionMatrix * ViewMatrix * ModelMatrix * vertexPosition_ModelSpace;
}