Blender Git Loki
Git Commits -> Revision 7f5d76b
Revision 7f5d76b by Clément Foucault (master) April 16, 2018, 17:38 (GMT) |
Object Mode: Rework outline drawing. This changes quite a few things. - Outline is now per object. - No more outline at object intersection (fix hairs problem). - Simplify the code quite a bit. We use a R16UI buffer to save one id per object outline. We convert this id to color when detecting the outline. Added textureGatherOffsets to the code but could not test on current hardware so leaving it commented for now. |
Commit Details:
Full Hash: 7f5d76b37fc909b15a72df725c70c8443c8e760e
Parent Commit: c2d4ba2
Lines Changed: +137, -94
1 Added Path:
/source/blender/draw/modes/shaders/object_outline_prepass_frag.glsl (+10, -0) (View)