Fix T62259: RGB Curves behave differently in Cycles and Eevee
authorClément Foucault <foucault.clem@gmail.com>
Wed, 6 Mar 2019 22:53:35 +0000 (23:53 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Thu, 7 Mar 2019 00:38:06 +0000 (01:38 +0100)
commite1a62fa1a61167990c4ade74b9e8b56573e18d2d
tree17c585cbd3aece9d49a6755c2bb525bd9aaadcdf
parenta070815d127e3216ab607d5c44c3d8855ff47fdc
Fix T62259: RGB Curves behave differently in Cycles and Eevee

This was due to curve being not extrapolated correctly. Also curvemap range
was not taken into account.
source/blender/gpu/shaders/gpu_shader_material.glsl
source/blender/nodes/shader/nodes/node_shader_curves.c