render normal map but in eye coordinate #1240
Unanswered
mate-huaboy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would appreciate it actually, there have been some issues about rendering normals, but I found that they all seem to render normals below the object coordinate system,sach as #865
here meshes.verts_normals_packed() return the normal is in object(the mesh) coordinate system,so Z is -1 to 1 but not0 to -1, In order for it to be able to render normals in the camera coordinate system,I Reorganizing the mesh,
then I let mash1 as input to get the normals map. But I don't know if MY understanding and practice are right and I dont konw how to Verify that it is correct. Could sameone please give me some advice,I would appreciate it.thanks!!
Beta Was this translation helpful? Give feedback.
All reactions