-
Beta Was this translation helpful? Give feedback.
Answered by
njroussel
Oct 6, 2023
Replies: 1 comment 1 reply
-
Hi @gioarma My best guess for what is happening here is that during the optimization the bump map texture is reaching values that create a back-facing shading normal hence the black output. Once that state has been reached there is no exiting it as any infinitely-small change of the normal would not change the rendered output (the forward gradient of the normal is 0). A much smaller learning rate should help, I believe. Any strategy that will mitigate or recover from this back-facing normal configuration should do the trick. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gioarma
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @gioarma
My best guess for what is happening here is that during the optimization the bump map texture is reaching values that create a back-facing shading normal hence the black output. Once that state has been reached there is no exiting it as any infinitely-small change of the normal would not change the rendered output (the forward gradient of the normal is 0).
A much smaller learning rate should help, I believe. Any strategy that will mitigate or recover from this back-facing normal configuration should do the trick.