Cycles: Fix filter glossy being broken after recent changes
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 20 Nov 2015 13:18:27 +0000 (18:18 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 20 Nov 2015 13:18:27 +0000 (18:18 +0500)
commit7e71be261bb88d0a7c1dcef7b19995317fdb51ef
tree9939d3285bea1aa9eb2e328c931162ce5adbd09f
parentc4188c2bbabd87e12c7827fb30d42d2a9f61df8e
Cycles: Fix filter glossy being broken after recent changes

Basically we can not use sharp closure as a substitude when filter glossy is
used. This is because we can not blur sharp reflection/refraction.

This is quite quick and not really clean implementation. Not really happy
with manual handling of original settings, but this is as good as we can do
in the quick patch. It's a good acknowledgment and we now can re-consider
some aspects of graph simplification to make such cases more natively
supported.

P.S. This failure would have been shown by our regression tests, so please,
bother a bit to run Cycles's test sweep before doing such optimizations.
intern/cycles/render/graph.cpp
intern/cycles/render/graph.h
intern/cycles/render/integrator.cpp
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h
intern/cycles/render/osl.cpp
intern/cycles/render/osl.h
intern/cycles/render/shader.cpp
intern/cycles/render/shader.h
intern/cycles/render/svm.cpp
intern/cycles/render/svm.h