Blender Git Loki
Git Commits -> Revision e546242
Revision e546242 by Clément Foucault (master) July 6, 2017, 11:32 (GMT) |
Eevee: Add support for common BSDFs. Add Diffuse BSDF, and Glossy. Also Use World normal instead of view normal as input. |
Commit Details:
Full Hash: e5462421c006929f4e88b27d38b3391d05163262
Parent Commit: a69e3c9
Lines Changed: +194, -25
10 Modified Paths:
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+176, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+10, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+1, -3) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+10, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.c (+1, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+1, -3) (Diff)