mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
16 lines
363 B
GLSL
16 lines
363 B
GLSL
![]() |
uniform mat4 screenMatrix;
|
||
|
|
||
|
attribute vec4 position;
|
||
|
attribute vec2 texCoord0;
|
||
|
attribute vec4 color;
|
||
|
|
||
|
varying vec4 varying_color;
|
||
|
varying vec2 varying_texCoord0;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position = screenMatrix * position;
|
||
|
varying_color = vec4(color.b * color.a, color.g * color.a, color.r * color.a, color.a);
|
||
|
varying_texCoord0 = texCoord0;
|
||
|
}
|