diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2016-08-30 12:48:59 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2016-08-30 12:48:59 +0300 |
commit | c376878e5421f4b53ef812f77ab9127effea4505 (patch) | |
tree | 3309e80aa4b696cce86a403d3d3246f463e35e17 /source/blender/gpu | |
parent | 3a0c0c1b5425cd5b050cb742357da57266c70463 (diff) |
Fix T49187: inconsistent Normal Map node output for backfacing polygons.
There basically are two issues here: in smooth mode (and all non-tangent
normal map types) it doesn't invert the normal for backfacing polys;
on the other hand for flat shaded tangent type it is inverted too soon.
This fix does a brute force correction by checking the backfacing flag.
Reviewers: #cycles, brecht
Reviewed By: #cycles, brecht
Differential Revision: https://developer.blender.org/D2181
Diffstat (limited to 'source/blender/gpu')
0 files changed, 0 insertions, 0 deletions