diff options
author | Thomas Dinges <blender@dingto.org> | 2016-02-06 00:13:51 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2016-02-06 00:13:51 +0300 |
commit | 469447f7077e42ec73d71e51f8f6bebc918fdfa6 (patch) | |
tree | f3c080413cc8e54c90b0c0650a46ccf16ccd1bc6 /intern/cycles/render/shader.h | |
parent | ca88bc5ac13efd8ea7157ab97396db51bb0bda64 (diff) |
Cycles: Auto disable World MIS, if we only use a simple color.
When World MIS is enabled by the user, we now check if we actually need it.
In case of a simple node setup (no procedurals, no HDRs..) we auto disable MIS internally to save render time.
This change is important for upcoming default changes.
Diffstat (limited to 'intern/cycles/render/shader.h')
-rw-r--r-- | intern/cycles/render/shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/shader.h b/intern/cycles/render/shader.h index 5b8c53110eb..cc83ad03277 100644 --- a/intern/cycles/render/shader.h +++ b/intern/cycles/render/shader.h @@ -106,6 +106,7 @@ public: bool has_displacement; bool has_surface_bssrdf; bool has_bssrdf_bump; + bool has_surface_spatial_varying; bool has_volume_spatial_varying; bool has_object_dependency; bool has_integrator_dependency; |