mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 06:29:00 +08:00
Follow-up of 316d38807d64e377c4b1d3a71f8c9587dcc82066 -> Modified shader to work on (buggy) Intel graphics card
This commit is contained in:
parent
326fb51316
commit
0b654e1518
@ -7,6 +7,8 @@ varying vec2 tex_coords;
|
|||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
gl_Position = gl_ModelViewProjectionMatrix * vec4(v_position, 1.0);
|
gl_Position = gl_ModelViewProjectionMatrix * vec4(v_position.x, v_position.y, v_position.z, 1.0);
|
||||||
|
// the following line leads to crash on some Intel graphics card
|
||||||
|
//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