You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I don't understand this line in lighting.py, why you use relu after calculating the inner product between face normals and light direction. cos = cf.relu(cf.sum(normals * direction, axis=2))
Hope for answering,
Thanks!
The text was updated successfully, but these errors were encountered:
Hi!
I don't understand this line in lighting.py, why you use relu after calculating the inner product between face normals and light direction.
cos = cf.relu(cf.sum(normals * direction, axis=2))
Hope for answering,
Thanks!
The text was updated successfully, but these errors were encountered: