mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 23:17:25 +01:00
14 lines
322 B
GLSL
14 lines
322 B
GLSL
// 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;
|
|
}
|