You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
279 B
13 lines
279 B
3 years ago
|
#version 330 core
|
||
|
attribute vec4 aPosition;
|
||
|
attribute vec3 aColor;
|
||
|
attribute vec2 aTexCoord;
|
||
|
varying vec2 vTexCoord;
|
||
|
varying vec3 color;
|
||
|
void main()
|
||
|
{
|
||
|
color = aColor;
|
||
|
gl_Position = aPosition;
|
||
|
vTexCoord = aTexCoord;
|
||
|
}
|