Blender Git Loki
Git Commits -> Revision 8a76049
Revision 8a76049 by Mike Erwin (master) February 28, 2017, 07:18 (GMT) |
rename built-in point shaders, SMOOTH --> AA Updated shader names and code that uses them. All of these shaders produce round points that are anti-aliased and blended against the background. These were initially named SMOOTH because they replace glEnable(GL_POINT_SMOOTH). But SMOOTH in shader-land refers to vertex attribute interpolation (like glShadeModel(GL_SMOOTH)). Using SMOOTH to mean two things is confusing, so we now use AA to mean "the point is anti-aliased". |
Commit Details:
Full Hash: 8a76049e84c79c6267c3c51fe32145f0ebf7805c
Parent Commit: e7d5762
Lines Changed: +293, -293
8 Added Paths:
/source/blender/gpu/shaders/gpu_shader_2D_point_uniform_size_aa_vert.glsl (+26, -0) (View)
/source/blender/gpu/shaders/gpu_shader_2D_point_uniform_size_outline_aa_vert.glsl (+29, -0) (View)
/source/blender/gpu/shaders/gpu_shader_2D_point_uniform_size_varying_color_outline_aa_vert.glsl (+34, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_point_uniform_size_aa_vert.glsl (+26, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_point_uniform_size_outline_aa_vert.glsl (+29, -0) (View)
/source/blender/gpu/shaders/gpu_shader_point_uniform_color_aa_frag.glsl (+25, -0) (View)
/source/blender/gpu/shaders/gpu_shader_point_uniform_color_outline_aa_frag.glsl (+36, -0) (View)
/source/blender/gpu/shaders/gpu_shader_point_varying_color_outline_aa_frag.glsl (+37, -0) (View)
/source/blender/gpu/shaders/gpu_shader_2D_point_uniform_size_outline_aa_vert.glsl (+29, -0) (View)
/source/blender/gpu/shaders/gpu_shader_2D_point_uniform_size_varying_color_outline_aa_vert.glsl (+34, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_point_uniform_size_aa_vert.glsl (+26, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_point_uniform_size_outline_aa_vert.glsl (+29, -0) (View)
/source/blender/gpu/shaders/gpu_shader_point_uniform_color_aa_frag.glsl (+25, -0) (View)
/source/blender/gpu/shaders/gpu_shader_point_uniform_color_outline_aa_frag.glsl (+36, -0) (View)
/source/blender/gpu/shaders/gpu_shader_point_varying_color_outline_aa_frag.glsl (+37, -0) (View)
8 Deleted Paths:
/source/blender/gpu/shaders/gpu_shader_2D_point_uniform_size_outline_smooth_vert.glsl (+0, -29)
/source/blender/gpu/shaders/gpu_shader_2D_point_uniform_size_smooth_vert.glsl (+0, -26)
/source/blender/gpu/shaders/gpu_shader_2D_point_uniform_size_varying_color_outline_smooth_vert.glsl (+0, -34)
/source/blender/gpu/shaders/gpu_shader_3D_point_uniform_size_outline_smooth_vert.glsl (+0, -29)
/source/blender/gpu/shaders/gpu_shader_3D_point_uniform_size_smooth_vert.glsl (+0, -26)
/source/blender/gpu/shaders/gpu_shader_point_uniform_color_outline_smooth_frag.glsl (+0, -36)
/source/blender/gpu/shaders/gpu_shader_point_uniform_color_smooth_frag.glsl (+0, -25)
/source/blender/gpu/shaders/gpu_shader_point_varying_color_outline_smooth_frag.glsl (+0, -37)
/source/blender/gpu/shaders/gpu_shader_2D_point_uniform_size_smooth_vert.glsl (+0, -26)
/source/blender/gpu/shaders/gpu_shader_2D_point_uniform_size_varying_color_outline_smooth_vert.glsl (+0, -34)
/source/blender/gpu/shaders/gpu_shader_3D_point_uniform_size_outline_smooth_vert.glsl (+0, -29)
/source/blender/gpu/shaders/gpu_shader_3D_point_uniform_size_smooth_vert.glsl (+0, -26)
/source/blender/gpu/shaders/gpu_shader_point_uniform_color_outline_smooth_frag.glsl (+0, -36)
/source/blender/gpu/shaders/gpu_shader_point_uniform_color_smooth_frag.glsl (+0, -25)
/source/blender/gpu/shaders/gpu_shader_point_varying_color_outline_smooth_frag.glsl (+0, -37)
10 Modified Paths:
/source/blender/draw/intern/draw_mode_pass.c (+2, -2) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+2, -2) (Diff)
/source/blender/editors/mask/mask_draw.c (+4, -4) (Diff)
/source/blender/editors/screen/area.c (+1, -1) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_draw.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+3, -3) (Diff)
/source/blender/gpu/CMakeLists.txt (+8, -8) (Diff)
/source/blender/gpu/GPU_shader.h (+5, -5) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+23, -23) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+2, -2) (Diff)
/source/blender/editors/mask/mask_draw.c (+4, -4) (Diff)
/source/blender/editors/screen/area.c (+1, -1) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_draw.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+3, -3) (Diff)
/source/blender/gpu/CMakeLists.txt (+8, -8) (Diff)
/source/blender/gpu/GPU_shader.h (+5, -5) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+23, -23) (Diff)