diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-09-23 12:34:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-09-23 12:34:34 +0300 |
commit | 3a1b0c0f3035afcfb5f082bb43b27296cc94dafe (patch) | |
tree | 8e3924e4a3fbae070f175b22f1ca831185a6ee92 /intern/cycles/kernel/closure/bsdf_microfacet_multi.h | |
parent | 4987f28ed248de44e5fc00f197012bed45514ca1 (diff) |
ShaderNodeTree: Add flatten function to get rid of nodegroups
This makes a lot of shader node wiring code less complex.
This only add the flatten mechanism (which fixes T69672).
~~Cleanup to remove the complexity in ntree_shader_relink_displacement,
ntree_shader_bump_branches and ntree_shader_tag_nodes will be commited
separately.~~(already included)
The code is only added for shader nodes for now but could be exported to
other internal nodetree types in the future.
Cleanup: Node Shader Tree: Remove GPUmaterial special nodegroup handling
Reviewers: brecht
Reviewed By: brecht
Maniphest Tasks: T69672
Differential Revision: https://developer.blender.org/D5829
Diffstat (limited to 'intern/cycles/kernel/closure/bsdf_microfacet_multi.h')
0 files changed, 0 insertions, 0 deletions