Blender Git Loki
Git Commits -> Revision 76425fe
Revision 76425fe by Alexander Romanov (master) April 18, 2017, 13:37 (GMT) |
Object Info node support for GLSL mode and the internal render Object Info node can be useful to give some variation to a single material assigned to multiple instances. This patch adds support for Viewport and BI. {F499530} Example: {F499528} Reviewers: merwin, brecht, dfelinto Reviewed By: brecht Subscribers: duarteframos, fclem, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D2425 |
Commit Details:
Full Hash: 76425feed8644a8fe1c0e52ef3f77b95012ba44e
Parent Commit: 8fdd568
Committed By: Clément Foucault
Lines Changed: +181, -26
1 Added Path:
/source/blender/blenlib/BLI_hash.h (+66, -0) (View)
19 Modified Paths:
/intern/cycles/blender/blender_object.cpp (+3, -14) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+17, -0) (Diff)
/source/blender/gpu/GPU_material.h (+4, -1) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+24, -2) (Diff)
/source/blender/gpu/intern/gpu_material.c (+13, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+1, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+5, -5) (Diff)
/source/blender/makesdna/DNA_object_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+4, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_object_info.c (+11, -1) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+1, -1) (Diff)
/source/blender/render/extern/include/RE_shader_ext.h (+4, -0) (Diff)
/source/blender/render/intern/include/render_types.h (+2, -0) (Diff)
/source/blender/render/intern/source/renderdatabase.c (+9, -0) (Diff)
/source/blender/render/intern/source/shadeoutput.c (+10, -0) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -0) (Diff)
/source/gameengine/Ketsji/BL_BlenderShader.cpp (+1, -1) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+17, -0) (Diff)
/source/blender/gpu/GPU_material.h (+4, -1) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+24, -2) (Diff)
/source/blender/gpu/intern/gpu_material.c (+13, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+1, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+5, -5) (Diff)
/source/blender/makesdna/DNA_object_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+4, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_object_info.c (+11, -1) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+1, -1) (Diff)
/source/blender/render/extern/include/RE_shader_ext.h (+4, -0) (Diff)
/source/blender/render/intern/include/render_types.h (+2, -0) (Diff)
/source/blender/render/intern/source/renderdatabase.c (+9, -0) (Diff)
/source/blender/render/intern/source/shadeoutput.c (+10, -0) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -0) (Diff)
/source/gameengine/Ketsji/BL_BlenderShader.cpp (+1, -1) (Diff)