r/blenderhelp • • 20d ago

Unsolved Shadow Raycast node creating blocky shadows

Post image

Shadow raycast node is making "unsmoothed" self shadows like this when lit by a sun.

Changing render settings doesn't seem to affect it, unsure if it's an issue with the light settings but changing strength didn't fix it either. Shadows cast by other objects seem to fine weirdly

1 Upvotes

3 comments sorted by

•

u/AutoModerator 20d ago

Welcome to r/blenderhelp, LightningShox! Please make sure you followed the rules below, so we can help you efficiently (This message is just a reminder, your submission has NOT been deleted):

  • Post full screenshots of your Blender window (more information available for helpers), not cropped, no phone photos (In Blender click Window > Save Screenshot, use Snipping Tool in Windows or Command+Shift+4 on mac).

  • Give background info: Showing the problem is good, but we need to know what you did to get there. Additional information, follow-up questions and screenshots/videos can be added in comments. Keep in mind that nobody knows your project except for yourself.

  • Don't forget to change the flair to "Solved" by including "!Solved" in a comment when your question was answered.

Thank you for your submission and happy blendering!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/rybytud 19d ago edited 19d ago

If you also calculate the diffuse shading (with Light Evaluation and Light Info node), you can multiply it with the shadow, which will mostly cover up those blocky shadows.

Note: I don't know a whole lot about this stuff. I mainly copied the node setup from the Light Accumulation node in the Blender manual.

Note2: The spheres are default UV Spheres with Shade Smooth enabled.

1

u/LightningShox 19d ago

I was going to use the shader in-context but yeah I probably should have posted it with the rest of the nodes. The jagged shadows are still there though unless you increase the threshold so it's not a perfect solution.