mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-15 07:27:32 +01:00
00e45affe9
'texelFetch' requires OpenGLSL 1.30, which requires OpenGL 3.0+. macOS might not support OpenGL 3.0 and 3.1, so adopt 3.2. Updates #1431
11 lines
175 B
GLSL
11 lines
175 B
GLSL
in vec2 A0;
|
|
|
|
void main(void) {
|
|
vec4 l0 = vec4(0);
|
|
for (float l1 = 0.0; l1 < 4.0; l1++) {
|
|
(l0).x = ((l0).x) + ((l1) * (1.0000000000e-02));
|
|
}
|
|
gl_Position = l0;
|
|
return;
|
|
}
|