TheorafileGMS/gamemaker/TheorafileGMS/shaders/YUVToRGB/YUVToRGB.vsh

11 lines
233 B
V Shell
Raw Normal View History

2021-11-20 09:12:23 +00:00
attribute vec2 in_Position; // (x,y,z)
2021-11-20 01:52:52 +00:00
attribute vec2 in_TextureCoord; // (u,v)
varying vec2 v_vTexcoord;
void main()
{
v_vTexcoord = in_TextureCoord;
2021-11-20 09:12:23 +00:00
gl_Position = vec4(in_Position, 0.0, 1.0);
2021-11-20 01:52:52 +00:00
}