forked from bartvdbraak/blender
bugfix [#24682] Render artifacts with mat node
This commit is contained in:
parent
a102c07f7d
commit
0a467d5183
@ -58,6 +58,7 @@ static void node_shader_exec_texture(void *data, bNode *node, bNodeStack **in, b
|
|||||||
|
|
||||||
/* we should find out if a normal as output is needed, for now we do all */
|
/* we should find out if a normal as output is needed, for now we do all */
|
||||||
texres.nor= nor;
|
texres.nor= nor;
|
||||||
|
texres.tr= texres.tg= texres.tb= 0.0f;
|
||||||
|
|
||||||
if(in[0]->hasinput) {
|
if(in[0]->hasinput) {
|
||||||
nodestack_get_vec(vec, SOCK_VECTOR, in[0]);
|
nodestack_get_vec(vec, SOCK_VECTOR, in[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user