diff options
author | Ferenc Arn <tagcup@yahoo.com> | 2017-10-11 17:20:33 -0400 |
---|---|---|
committer | Ferenc Arn <tagcup@yahoo.com> | 2017-10-11 17:22:44 -0400 |
commit | 932455599861d5a80272e99ad012a8867ac5ba16 (patch) | |
tree | 1af8aff7e3d8e8d2c7f63fb0facdac86fc863a45 /core/object.cpp | |
parent | 80b0a9dda3fe8ef3b0fb0e56032c7027d7986f13 (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