Page MenuHome

Normals in cycles do not render properly?
Closed, InvalidPublic


System Information

Operating system: Windows 10
Graphics card: 2080ti rtx

Blender Version
Broken: 2.80; 02581a7ef819; 2019-02-08;

Short description of error

Tried to make detail oriented mixing of normal maps using shader editor.
Result looks correct using EEVEE, and it looks wrong when rendering with Cycles engine.

Exact steps for others to reproduce the error

Download blend file, render in EEVEE and compare that to Cycles render.



Event Timeline

Marko Tatalovic (Fuxna) updated the task description. (Show Details)
Marko Tatalovic (Fuxna) updated the task description. (Show Details)

eevee normals

cycles normals

using same nodes

First note: DepsgraphNodeBuilder is complaining/asserting because there are NodeTrees being used [id_type is ID_NT here]

BLI_assert(!"Unknown ID type used for node")

1   raise                                                                                      0x7ffff212053f 
2   abort                                                                                      0x7ffff210a895 
3   DEG::DepsgraphNodeBuilder::build_nodetree               1380 0x1d38b80      
4   DEG::DepsgraphNodeBuilder::build_nodetree               1377 0x1d38b2f      
5   DEG::DepsgraphNodeBuilder::build_nodetree               1377 0x1d38b2f      
6   DEG::DepsgraphNodeBuilder::build_material               1405 0x1d38cde      
7   DEG::DepsgraphNodeBuilder::build_object_data_geometry            1189 0x1d37ea3      
8   DEG::DepsgraphNodeBuilder::build_object_data            651  0x1d35bfb      
9   DEG::DepsgraphNodeBuilder::build_object                 578  0x1d357e1      
10  DEG::DepsgraphNodeBuilder::build_view_layer  108  0x1d48bff      
11  DEG_graph_build_from_view_layer                           244  0x1d2d073      
12  DEG_graph_relations_update                                306  0x1d2d2e1      
13  BKE_scene_graph_update_tagged                         scene.c                         1518 0x1aef86b
Philipp Oeser (lichtwerk) claimed this task.

There were two issues here:

  • there were a couple of unknown nodes in those nodegroups [not sure where those are from? these didnt seem to contribute to the result, removed them, see below]
  • the last nodegroup before the normalmap node was outputting a value [instead of a vector] and was feeding that into the NormalMap node [changed that to a vector output, seems to work fine now...]

This is the "corrected" file with above changes:

Not 100% sure why eevee is hadling the value --> NormalMap differently, but nevertheless seems like using a Vector ouput [instead of a Value output] seems to be the way to go...

Will close this (feel free to comment again if issues persist...)

Those came from Addon that generates nodes from math expressions. I am sorry I totally missed that node group output was value instead of vector, i will notify addon author. Thank you!