mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-11-05 19:54:53 +00:00
15 lines
219 B
GLSL
15 lines
219 B
GLSL
attribute vec4 position;
|
|
attribute vec4 color;
|
|
|
|
varying vec4 colorVarying;
|
|
|
|
uniform float translate;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = position;
|
|
gl_Position.y += sin(translate) / 2.0;
|
|
|
|
colorVarying = color;
|
|
}
|