aboutsummaryrefslogtreecommitdiff
path: root/core/io/resource_format_binary.cpp
diff options
context:
space:
mode:
authorFerenc Arn2017-10-11 17:20:33 -0400
committerFerenc Arn2017-10-11 17:22:44 -0400
commit932455599861d5a80272e99ad012a8867ac5ba16 (patch)
tree1af8aff7e3d8e8d2c7f63fb0facdac86fc863a45 /core/io/resource_format_binary.cpp
parent80b0a9dda3fe8ef3b0fb0e56032c7027d7986f13 (diff)
downloadgodot-932455599861d5a80272e99ad012a8867ac5ba16.tar.gz
godot-932455599861d5a80272e99ad012a8867ac5ba16.tar.zst
godot-932455599861d5a80272e99ad012a8867ac5ba16.zip
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/io/resource_format_binary.cpp')
0 files changed, 0 insertions, 0 deletions