Blender Git Loki

Git Commits -> Revision 2eef097

Revision 2eef097 by Clément Foucault (master)
July 3, 2017, 20:08 (GMT)
GPU Codegen: Add new closure socket type.

This allow specialized shaders to redefine the closure interface to fit their needs.

For instance, Volumetric closure needs to pass more than one vec4 (absorption vec3, scattering vec3, anisotropy float).

Commit Details:

Full Hash: 2eef097831caf14634cc0fc6749b857096baf3da
Parent Commit: 65b0101
Lines Changed: +113, -54

5 Modified Paths:

/source/blender/gpu/GPU_material.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+33, -8) (Diff)
/source/blender/gpu/intern/gpu_material.c (+2, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+75, -45) (Diff)
/source/blender/nodes/shader/node_shader_util.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021