mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-20 19:29:09 +08:00

Partial revert of 0260c81c9e2b715b69550b5c99e0cbb8d5503021 - OpenGL ES 2.0 set as minimum version Fixed shaders version
17 lines
260 B
GLSL
17 lines
260 B
GLSL
#version 100
|
|
|
|
uniform mat4 ProjMtx;
|
|
|
|
attribute vec2 Position;
|
|
attribute vec2 UV;
|
|
attribute vec4 Color;
|
|
|
|
varying vec2 Frag_UV;
|
|
varying vec4 Frag_Color;
|
|
|
|
void main()
|
|
{
|
|
Frag_UV = UV;
|
|
Frag_Color = Color;
|
|
gl_Position = ProjMtx * vec4(Position.xy, 0.0, 1.0);
|
|
} |