Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/draw/engines/overlay/shaders/grid_frag.glsl')
-rw-r--r--source/blender/draw/engines/overlay/shaders/grid_frag.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/overlay/shaders/grid_frag.glsl b/source/blender/draw/engines/overlay/shaders/grid_frag.glsl
index 9cf6898cf18..3220adbff36 100644
--- a/source/blender/draw/engines/overlay/shaders/grid_frag.glsl
+++ b/source/blender/draw/engines/overlay/shaders/grid_frag.glsl
@@ -187,8 +187,8 @@ void main()
FragColor = colorGrid;
FragColor.a *= gridA * blend;
- FragColor = mix(FragColor, mix(colorGrid, colorGridEmphasise, blend), gridB);
- FragColor = mix(FragColor, colorGridEmphasise, gridC);
+ FragColor = mix(FragColor, mix(colorGrid, colorGridEmphasis, blend), gridB);
+ FragColor = mix(FragColor, colorGridEmphasis, gridC);
}
else {
FragColor = vec4(colorGrid.rgb, 0.0);