Blender Git Commit Log

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)

3 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/modes/object_mode.c (+79, -37) (Diff)
/source/blender/draw/modes/shaders/object_outline_detect_frag.glsl (+47, -57) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021