Blender Git Loki
Git Commits -> Revision 799779d
Revision 799779d by Lukas Stockner (master) June 15, 2018, 20:16 (GMT) |
Cycles: change Ambient Occlusion shader to output colors. This means the shader can now be used for procedural texturing. New settings on the node are Samples, Inside, Local Only and Distance. Original patch by Lukas with further changes by Brecht. Differential Revision: https://developer.blender.org/D3479 |
Commit Details:
Full Hash: 799779d432309e518922d23e3a1d1b5baaece71d
Parent Commit: 2b9edbc
Committed By: Brecht Van Lommel
Lines Changed: +402, -161
1 Added Path:
/intern/cycles/kernel/svm/svm_ao.h (+111, -0) (View)
33 Modified Paths:
/intern/cycles/blender/addon/version_update.py (+45, -8) (Diff)
/intern/cycles/blender/blender_shader.cpp (+6, -1) (Diff)
/intern/cycles/kernel/bvh/bvh.h (+1, -1) (Diff)
/intern/cycles/kernel/bvh/bvh_local.h (+35, -24) (Diff)
/intern/cycles/kernel/bvh/qbvh_local.h (+34, -24) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle_intersect.h (+14, -6) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+14, -6) (Diff)
/intern/cycles/kernel/kernel_path.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+0, -4) (Diff)
/intern/cycles/kernel/kernel_types.h (+0, -3) (Diff)
/intern/cycles/kernel/osl/background.cpp (+0, -26) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+0, -2) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+0, -2) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+20, -0) (Diff)
/intern/cycles/kernel/osl/osl_services.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_ambient_occlusion.osl (+14, -5) (Diff)
/intern/cycles/kernel/split/kernel_holdout_emission_blurring_pathtermination_ao.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm.h (+4, -3) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+0, -18) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+7, -3) (Diff)
/intern/cycles/render/nodes.cpp (+30, -8) (Diff)
/intern/cycles/render/nodes.h (+8, -4) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -1) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+3, -2) (Diff)
/source/blender/makesdna/DNA_node_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+21, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.c (+12, -3) (Diff)
/intern/cycles/blender/blender_shader.cpp (+6, -1) (Diff)
/intern/cycles/kernel/bvh/bvh.h (+1, -1) (Diff)
/intern/cycles/kernel/bvh/bvh_local.h (+35, -24) (Diff)
/intern/cycles/kernel/bvh/qbvh_local.h (+34, -24) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle_intersect.h (+14, -6) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+14, -6) (Diff)
/intern/cycles/kernel/kernel_path.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+0, -4) (Diff)
/intern/cycles/kernel/kernel_types.h (+0, -3) (Diff)
/intern/cycles/kernel/osl/background.cpp (+0, -26) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+0, -2) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+0, -2) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+20, -0) (Diff)
/intern/cycles/kernel/osl/osl_services.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_ambient_occlusion.osl (+14, -5) (Diff)
/intern/cycles/kernel/split/kernel_holdout_emission_blurring_pathtermination_ao.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm.h (+4, -3) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+0, -18) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+7, -3) (Diff)
/intern/cycles/render/nodes.cpp (+30, -8) (Diff)
/intern/cycles/render/nodes.h (+8, -4) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -1) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+3, -2) (Diff)
/source/blender/makesdna/DNA_node_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+21, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.c (+12, -3) (Diff)