Eevee: Ssr: Add ssr id to glossy nodes.
authorClément Foucault <foucault.clem@gmail.com>
Sat, 15 Jul 2017 14:09:44 +0000 (16:09 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Mon, 24 Jul 2017 13:28:27 +0000 (15:28 +0200)
commit04f8e1b21c716b6d4eefed6678d036cd0c96d4d2
treef40516a3f77666f682de70d958f52b594fad2584
parentb7fbe6ae5ded2c73a52d298bee60cd70e971d547
Eevee: Ssr: Add ssr id to glossy nodes.

An id is given to each glossy node in order to determine which specular lobe is using ssr.
source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl
source/blender/gpu/shaders/gpu_shader_material.glsl
source/blender/makesdna/DNA_node_types.h
source/blender/nodes/shader/node_shader_tree.c
source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c
source/blender/nodes/shader/nodes/node_shader_eevee_metallic.c
source/blender/nodes/shader/nodes/node_shader_eevee_specular.c