Blender Git Loki
Git Commits -> Revision 00955d8
Revision 00955d8 by Clément Foucault (master) September 25, 2017, 18:14 (GMT) |
DRW : Add AA to non meshes objects. You can change the amount of samples in the user preferences. You do not need to restart blender to see the effect in the new viewport. This adds another Multisample Framebuffer and textures (so even more memory required). It works by blitting the default_fb to the multisample_fb each time the renderer need to render one or more "wire" pass. It it then blit back to the default_fb so that the rest of pipeline is working as expected. We COULD lower the GPU memory / bandwidth usage to render everything to the same multisample fbo and change the logic depending on if MSAA is enabled or not, but I think it's a bit too much work for now. |
Commit Details:
Full Hash: 00955d8d7a2e17ee86767e5f3703d6c20f2602b8
Parent Commit: 709315a
Lines Changed: +104, -5
8 Modified Paths:
/source/blender/draw/DRW_engine.h (+3, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+26, -0) (Diff)
/source/blender/draw/modes/edit_armature_mode.c (+5, -0) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+5, -1) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+5, -1) (Diff)
/source/blender/draw/modes/object_mode.c (+6, -1) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+53, -2) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+26, -0) (Diff)
/source/blender/draw/modes/edit_armature_mode.c (+5, -0) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+5, -1) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+5, -1) (Diff)
/source/blender/draw/modes/object_mode.c (+6, -1) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+53, -2) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -0) (Diff)