summaryrefslogtreecommitdiff
path: root/core/object.cpp
diff options
context:
space:
mode:
authorFerenc Arn <tagcup@yahoo.com>2017-10-11 17:20:33 -0400
committerFerenc Arn <tagcup@yahoo.com>2017-10-11 17:22:44 -0400
commit932455599861d5a80272e99ad012a8867ac5ba16 (patch)
tree1af8aff7e3d8e8d2c7f63fb0facdac86fc863a45 /core/object.cpp
parent80b0a9dda3fe8ef3b0fb0e56032c7027d7986f13 (diff)
Fix the condition when specular light calculation is avoided (should be roughness == 1).
Also avoid calculating diffuse light calculation when metallic == 1, and test against clearcoat's own parameter to check whether to do clearcoat.
Diffstat (limited to 'core/object.cpp')
0 files changed, 0 insertions, 0 deletions