Blender Git Commit Log

Git Commits -> Revision 9d5edf2

Revision 9d5edf2 by Clément Foucault (master)
November 1, 2018, 14:06 (GMT)
Eevee: Fix nodegroup sockets behaviour

Node group inputs should behave like cycles now.

----

We create dummy nodes that contains the default values for the nodegroup
inputs and link them to the sockets. This way the uniform buffer gathering
function can read them.

But we also need to disconnect all the internal links to sockets that have
hidden values. Theses sockets must not get the values from the nodegroup
input sockets if there is no link to them otherwise we get broken results
(i.e.: normals for a bsdf node).

Commit Details:

Full Hash: 9d5edf2d39c73b50dfbdcd10f32e89435c95dcc9
Parent Commit: c231690
Lines Changed: +88, -10

2 Modified Paths:

/source/blender/gpu/intern/gpu_codegen.c (+2, -10) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+86, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021