-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Material rendered black on non-instanced object, correct if object is instanced #300
Comments
The problem may be in BlendLuxCore (or in the LuxCore export process). Try to do this test:
So the problem may be in the process of exporting normals when Z scale is negative (?) |
You mean somewhere in here? LuxCore/src/luxcore/pyluxcoreforblender.cpp Line 673 in ab1c6c6
Or maybe in LuxCore/src/luxrays/core/exttrianglemesh.cpp Line 249 in 09fc105
However, even with normals pointing to the wrong side, why would the mesh be black? Wouldn't that be like looking at it from the other side? |
I should have fixed the problem: the transformation was swapping the handiness of reference system. |
Confirmed, thanks! |
Reported by Max from Insertcoin.tv.
LuxCore version: v2.3beta1
Scene: black_material.zip
Steps to reproduce:
I have a feeling there might be NaNs involved here, possibly caused by some of these factors:
Viewport render, object instanced:
Final render, object not instanced:
The text was updated successfully, but these errors were encountered: