Workbench: Fix incident vector calculation.
authorClément Foucault <foucault.clem@gmail.com>
Sat, 9 Jun 2018 10:21:19 +0000 (12:21 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Sat, 9 Jun 2018 10:44:56 +0000 (12:44 +0200)
commita1b42b79b316608a60e811458e7854266ce6ea5f
tree2b6f0d6700da78beeae27e0cbd04a4a6c480cb58
parent7ce81484f8214cd52b000e8d3f47dd3aed56da84
Workbench: Fix incident vector calculation.

This fixes specular in perspective view.
source/blender/draw/engines/workbench/shaders/workbench_common_lib.glsl
source/blender/draw/engines/workbench/shaders/workbench_deferred_composite_frag.glsl
source/blender/draw/engines/workbench/shaders/workbench_forward_transparent_accum_frag.glsl
source/blender/draw/engines/workbench/workbench_deferred.c
source/blender/draw/engines/workbench/workbench_forward.c