Blender Git Loki
Git Commits -> Revision b9f6d03
Revision b9f6d03 by Brecht Van Lommel (master) March 11, 2020, 13:59 (GMT) |
Eevee: internal support for arbitrary number of volume grids This has no user visible impact yet since smoke volumes only support a fixed set of attributes, but will become important with the new volume object. For GPU shader compilation, volume grids are now handled separately from image textures. They are somewhere between a vertex attribute and an image texture, basically an attribute that is stored as a texture. Differential Revision: https://developer.blender.org/D6952 |
Commit Details:
Full Hash: b9f6d033beecd75398be14419d37d8aab0609812
Parent Commit: e1e772a
Lines Changed: +236, -196
13 Modified Paths:
/source/blender/draw/engines/eevee/eevee_materials.c (+9, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+30, -16) (Diff)
/source/blender/draw/intern/draw_manager_shader.c (+8, -4) (Diff)
/source/blender/draw/intern/DRW_render.h (+6, -4) (Diff)
/source/blender/gpu/GPU_material.h (+18, -11) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+9, -19) (Diff)
/source/blender/gpu/intern/gpu_material.c (+24, -10) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+69, -0) (Diff)
/source/blender/gpu/intern/gpu_node_graph.h (+8, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_volume_info.glsl (+21, -57) (Diff)
/source/blender/nodes/shader/nodes/node_shader_attribute.c (+12, -22) (Diff)
/source/blender/nodes/shader/nodes/node_shader_volume_info.c (+15, -11) (Diff)
/source/blender/nodes/shader/nodes/node_shader_volume_principled.c (+7, -40) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+30, -16) (Diff)
/source/blender/draw/intern/draw_manager_shader.c (+8, -4) (Diff)
/source/blender/draw/intern/DRW_render.h (+6, -4) (Diff)
/source/blender/gpu/GPU_material.h (+18, -11) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+9, -19) (Diff)
/source/blender/gpu/intern/gpu_material.c (+24, -10) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+69, -0) (Diff)
/source/blender/gpu/intern/gpu_node_graph.h (+8, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_volume_info.glsl (+21, -57) (Diff)
/source/blender/nodes/shader/nodes/node_shader_attribute.c (+12, -22) (Diff)
/source/blender/nodes/shader/nodes/node_shader_volume_info.c (+15, -11) (Diff)
/source/blender/nodes/shader/nodes/node_shader_volume_principled.c (+7, -40) (Diff)