mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
GLES shader fixes
This commit is contained in:
parent
f0f768cc74
commit
fa81ebeece
5 changed files with 36 additions and 0 deletions
|
|
@ -14,6 +14,14 @@ vertex =
|
|||
}
|
||||
|
||||
fragment =
|
||||
#ifdef GL_ES
|
||||
#extension GL_OES_standard_derivatives : enable
|
||||
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||
precision highp float;
|
||||
#else
|
||||
precision mediump float;
|
||||
#endif // GL_FRAGMENT_PRECISION_HIGH
|
||||
#endif // GL_ES
|
||||
uniform lowp vec4 u_plateColor;
|
||||
uniform lowp vec4 u_gridColor0;
|
||||
uniform lowp vec4 u_gridColor1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue