diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-08-20 15:02:16 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-08-20 15:27:51 +0300 |
commit | 0b07c2c8a254295dfdd3d051c6e84d36a0a3cc30 (patch) | |
tree | 71f1f98dafbb06204f71e4c05a932c48eb43bfe1 /intern/cycles/render/shader.h | |
parent | e27a59d411a1ec69b54ee0f1d88997db086bb996 (diff) |
Code cleanup: remove copy of shader graph for bump, no longer needed.
Diffstat (limited to 'intern/cycles/render/shader.h')
-rw-r--r-- | intern/cycles/render/shader.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/intern/cycles/render/shader.h b/intern/cycles/render/shader.h index b6714b13247..79a67d6756a 100644 --- a/intern/cycles/render/shader.h +++ b/intern/cycles/render/shader.h @@ -89,11 +89,6 @@ public: /* shader graph */ ShaderGraph *graph; - /* shader graph with auto bump mapping included, we compile two shaders, - * with and without bump, because the displacement method is a mesh - * level setting, so we need to handle both */ - ShaderGraph *graph_bump; - /* sampling */ bool use_mis; bool use_transparent_shadow; @@ -121,6 +116,7 @@ public: bool has_volume; bool has_displacement; bool has_surface_bssrdf; + bool has_bump; bool has_bssrdf_bump; bool has_surface_spatial_varying; bool has_volume_spatial_varying; |