mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00

Jira:STUDIO-4227 thanks for PrusaSlcer and enricoturri1966 commit 76d1d4949bbd0964717f8112aae992a1267c5eb4 Author: enricoturri1966 <enricoturri@seznam.cz> Date: Mon Mar 21 13:10:47 2022 +0100 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140 ... Change-Id: I4db00805830f07a5eaa95cfc7b8254c61b86f0c8
11 lines
204 B
GLSL
11 lines
204 B
GLSL
#version 110
|
|
|
|
uniform mat4 view_model_matrix;
|
|
uniform mat4 projection_matrix;
|
|
|
|
attribute vec3 v_position;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = projection_matrix * view_model_matrix * vec4(v_position, 1.0);
|
|
}
|