Blender Git Loki

Git Commits -> Revision e321fc4

Revision e321fc4 by Clément Foucault (master)
June 10, 2018, 18:02 (GMT)
Workbench: Xray: Make nearest surfaces more clear

By using equation 7 from the paper, we make the surfaces nearest to the
viewpoint appear more "opaque". This gives better sense of ordering than
the previous weighting function that was really not doing anything.

Commit Details:

Full Hash: e321fc4a7c8f93d5ffee50d107430df04b612e23
Parent Commit: 15862e1
Lines Changed: +34, -6

3 Modified Paths:

/source/blender/draw/engines/workbench/shaders/workbench_common_lib.glsl (+31, -4) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_forward_transparent_accum_frag.glsl (+2, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021