Fix T51849: change Cycles clearcoat gloss to roughness.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 21 Jun 2017 17:24:57 +0000 (19:24 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 21 Jun 2017 17:55:20 +0000 (19:55 +0200)
commit14ea0c5fccfdbd8d244758709185160e45222dc3
treec067ee04c07760fb19e9accac89fff1ea45653ee
parent22466a5bdff73afb6ad3afd408e265517e4f3733
Fix T51849: change Cycles clearcoat gloss to roughness.

This is compatible with UE4 and more consistent with specular and transmission
roughness, even if it deviates from the original Disney BRDF.
intern/cycles/kernel/osl/osl_closures.cpp
intern/cycles/kernel/shaders/node_principled_bsdf.osl
intern/cycles/kernel/shaders/stdosl.h
intern/cycles/kernel/svm/svm_closure.h
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h
source/blender/gpu/shaders/gpu_shader_material.glsl
source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c