mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-27 23:46:56 +01:00
15 lines
322 B
V Shell
15 lines
322 B
V Shell
|
// Passthrough vertex shader.
|
||
|
|
||
|
attribute vec4 in_Position;
|
||
|
attribute vec2 in_TextureCoord;
|
||
|
attribute vec4 in_Colour;
|
||
|
|
||
|
varying vec2 v_vTexcoord;
|
||
|
varying vec4 v_vColour;
|
||
|
|
||
|
void main() {
|
||
|
gl_Position = gm_Matrices[MATRIX_WORLD_VIEW_PROJECTION] * in_Position;
|
||
|
v_vTexcoord = in_TextureCoord;
|
||
|
v_vColour = in_Colour;
|
||
|
}
|