diff options
Diffstat (limited to 'source/blender/gpu/shaders')
9 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl b/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl index 8dda575107a..1497f9eeeb1 100644 --- a/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl +++ b/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl @@ -7,4 +7,4 @@ out vec4 fragColor; void main() { fragColor = finalColor; fragColor.a *= smoothstep(1.0, 0.1, abs(colorGradient)); -}
\ No newline at end of file +} diff --git a/source/blender/gpu/shaders/gpu_shader_2D_nodelink_vert.glsl b/source/blender/gpu/shaders/gpu_shader_2D_nodelink_vert.glsl index 4c295fcd72a..4a9f5f94321 100644 --- a/source/blender/gpu/shaders/gpu_shader_2D_nodelink_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_2D_nodelink_vert.glsl @@ -104,4 +104,4 @@ void main(void) if (expand.y != 1.0 && !doArrow) { gl_Position.xy *= 0.0; } -}
\ No newline at end of file +} diff --git a/source/blender/gpu/shaders/gpu_shader_2D_widget_base_frag.glsl b/source/blender/gpu/shaders/gpu_shader_2D_widget_base_frag.glsl index f660cae8d12..286a5373554 100644 --- a/source/blender/gpu/shaders/gpu_shader_2D_widget_base_frag.glsl +++ b/source/blender/gpu/shaders/gpu_shader_2D_widget_base_frag.glsl @@ -32,4 +32,4 @@ void main() if (butCo > 0.0) { fragColor.a = 1.0; } -}
\ No newline at end of file +} diff --git a/source/blender/gpu/shaders/gpu_shader_2D_widget_shadow_frag.glsl b/source/blender/gpu/shaders/gpu_shader_2D_widget_shadow_frag.glsl index 7587b2fc18a..fc4d055a903 100644 --- a/source/blender/gpu/shaders/gpu_shader_2D_widget_shadow_frag.glsl +++ b/source/blender/gpu/shaders/gpu_shader_2D_widget_shadow_frag.glsl @@ -10,4 +10,4 @@ void main() fragColor = vec4(0.0); /* Manual curve fit of the falloff curve of previous drawing method. */ fragColor.a = alpha * (shadowFalloff * shadowFalloff * 0.722 + shadowFalloff * 0.277); -}
\ No newline at end of file +} diff --git a/source/blender/gpu/shaders/gpu_shader_2D_widget_shadow_vert.glsl b/source/blender/gpu/shaders/gpu_shader_2D_widget_shadow_vert.glsl index 2f5353a7c86..f6be496ac4f 100644 --- a/source/blender/gpu/shaders/gpu_shader_2D_widget_shadow_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_2D_widget_shadow_vert.glsl @@ -61,4 +61,4 @@ void main() v += rct.xw; gl_Position = ModelViewProjectionMatrix * vec4(v, 0.0, 1.0); -}
\ No newline at end of file +} diff --git a/source/blender/gpu/shaders/gpu_shader_edges_front_back_persp_geom.glsl b/source/blender/gpu/shaders/gpu_shader_edges_front_back_persp_geom.glsl index 10b5fad7972..e7632fcad15 100644 --- a/source/blender/gpu/shaders/gpu_shader_edges_front_back_persp_geom.glsl +++ b/source/blender/gpu/shaders/gpu_shader_edges_front_back_persp_geom.glsl @@ -45,7 +45,7 @@ void main() if (finalEdgeClass > 0.0f) { // front-facing edge if (drawFront) - emitLine(frontColor); + emitLine(frontColor); } else if (finalEdgeClass < 0.0f) { // back-facing edge diff --git a/source/blender/gpu/shaders/gpu_shader_image_linear_frag.glsl b/source/blender/gpu/shaders/gpu_shader_image_linear_frag.glsl index c2b25cc8011..97eb3afc177 100644 --- a/source/blender/gpu/shaders/gpu_shader_image_linear_frag.glsl +++ b/source/blender/gpu/shaders/gpu_shader_image_linear_frag.glsl @@ -27,4 +27,4 @@ void main() { fragColor = texture(image, texCoord_interp.st); linearrgb_to_srgb(fragColor, fragColor); -}
\ No newline at end of file +} diff --git a/source/blender/gpu/shaders/gpu_shader_instance_distance_line_vert.glsl b/source/blender/gpu/shaders/gpu_shader_instance_distance_line_vert.glsl index 142df70e68a..ced5bb7f684 100644 --- a/source/blender/gpu/shaders/gpu_shader_instance_distance_line_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_instance_distance_line_vert.glsl @@ -22,4 +22,4 @@ void main() gl_Position = ViewProjectionMatrix * InstanceModelMatrix * vec4(pos * -len + sta, 1.0); gl_PointSize = size; finalColor = vec4(color, 1.0); -}
\ No newline at end of file +} diff --git a/source/blender/gpu/shaders/gpu_shader_instance_edges_variying_color_geom.glsl b/source/blender/gpu/shaders/gpu_shader_instance_edges_variying_color_geom.glsl index 6f580ef3ff6..e26f419b8cd 100644 --- a/source/blender/gpu/shaders/gpu_shader_instance_edges_variying_color_geom.glsl +++ b/source/blender/gpu/shaders/gpu_shader_instance_edges_variying_color_geom.glsl @@ -42,7 +42,7 @@ void main() if (finalEdgeClass > 0.0f) { // front-facing edge if (drawFront) - emitLine(vec4(fCol[0], 0.75)); + emitLine(vec4(fCol[0], 0.75)); } else if (finalEdgeClass < 0.0f) { // back-facing edge |