Blender Git Loki

Git Commits -> Revision 0c71240

May 18, 2021, 13:39 (GMT)
EEVEE: Material: Add basic material logic

This is a port of the old material grouping. This is a bit more
clean as we use containers for each passes and other structures.

Nodetree is generated without major error for simple materials but
it is not yet used as closures are not outputed.

Commit Details:

Full Hash: 0c71240f14e6016728a9942c079d357bc9eb4b41
Parent Commit: f466614
Lines Changed: +1105, -741

4 Added Paths:

/source/blender/draw/engines/eevee/eevee_material.cc (+266, -0) (View)
/source/blender/draw/engines/eevee/eevee_material.hh (+118, -0) (View)
/source/blender/draw/engines/eevee/eevee_shader.cc (+455, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_surface_mesh_vert.glsl (+14, -0) (View)

26 Modified Paths:

/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_id_map.hh (+108, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.cc (+22, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.hh (+4, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_shader.hh (+15, -291) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.cc (+23, -27) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.hh (+3, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.cc (+6, -11) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.hh (+2, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_closure_lib.glsl (+34, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_nodetree_eval_lib.glsl (+11, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_deferred_frag.glsl (+4, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_forward_frag.glsl (+5, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_lib.glsl (+2, -13) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_volume_lib.glsl (+2, -7) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+4, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_diffuse.glsl (+0, -24) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_eevee_specular.glsl (+0, -65) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_glass.glsl (+0, -47) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_glossy.glsl (+0, -28) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_principled.glsl (+1, -158) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_refraction.glsl (+0, -28) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_subsurface_scattering.glsl (+0, -8) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_texture_coordinates.glsl (+1, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_translucent.glsl (+0, -8) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_world_normals.glsl (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021