Blender Git Commit Log

Git Commits -> Revision 7e7c9d4

August 17, 2019, 12:48 (GMT)
Object Mode: Outlines: Rewrite id pass generation

This makes the ID pass for outline detection use the new
resource_id in order to differenciate drawcalls.

Since the drawcalls have IDs in the range of [0..511] this means objects
with the same id will have their outlines merges. This will be fixed in
next commit.

Lightprobes have their outlines disabled for now.

Commit Details:

Full Hash: 7e7c9d4e17b5be72691bb3885c08989e63752428
Parent Commit: 70892ec
Lines Changed: +105, -225

5 Modified Paths:

/source/blender/draw/modes/object_mode.c (+60, -206) (Diff)
/source/blender/draw/modes/shaders/object_outline_detect_frag.glsl (+12, -11) (Diff)
/source/blender/draw/modes/shaders/object_outline_prepass_frag.glsl (+10, -3) (Diff)
/source/blender/draw/modes/shaders/object_outline_prepass_geom.glsl (+5, -2) (Diff)
/source/blender/draw/modes/shaders/object_outline_prepass_vert.glsl (+18, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021