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
Without shadows, you need to find a collision with an object, and then iterate over all the lights in the scene to add their contribution to the color. With shadows, before summing up the contribution of each light, you have to cast a shadow ray to check if the light is visible at the collision point. If it is visible you add the contribution, if it is not visible you skip it. Hope this helps!
Hi!
Regarding casting shadows to our scene, I am a little confused about the implementation of it, and I'm not sure how to go about it.
Thank you in advance!
The text was updated successfully, but these errors were encountered: