diff options
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_image_overlays_merge_frag.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_image_overlays_merge_frag.glsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_image_overlays_merge_frag.glsl b/source/blender/gpu/shaders/gpu_shader_image_overlays_merge_frag.glsl index e8323520af5..73f40c693ae 100644 --- a/source/blender/gpu/shaders/gpu_shader_image_overlays_merge_frag.glsl +++ b/source/blender/gpu/shaders/gpu_shader_image_overlays_merge_frag.glsl @@ -33,6 +33,7 @@ void main() vec4 overlay_col = texture(overlays_texture, texCoord_interp.st); + fragColor = clamp(fragColor, 0.0, 1.0); fragColor *= 1.0 - overlay_col.a; fragColor += overlay_col; |