mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-04 05:00:36 +08:00
Simplified shader printbed.vs
This commit is contained in:
parent
c08b4be0e6
commit
316d38807d
@ -1,12 +1,12 @@
|
|||||||
#version 110
|
#version 110
|
||||||
|
|
||||||
attribute vec4 v_position;
|
attribute vec3 v_position;
|
||||||
attribute vec2 v_tex_coords;
|
attribute vec2 v_tex_coords;
|
||||||
|
|
||||||
varying vec2 tex_coords;
|
varying vec2 tex_coords;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
gl_Position = gl_ProjectionMatrix * gl_ModelViewMatrix * v_position;
|
gl_Position = gl_ModelViewProjectionMatrix * vec4(v_position, 1.0);
|
||||||
tex_coords = v_tex_coords;
|
tex_coords = v_tex_coords;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user