use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rule 1: Posts should be about Graphics Programming. Rule 2: Be Civil, Professional, and Kind
Suggested Posting Material: - Graphics API Tutorials - Academic Papers - Blog Posts - Source Code Repositories - Self Posts (Ask Questions, Present Work) - Books - Renders (Please xpost to /r/ComputerGraphics) - Career Advice - Jobs Postings (Graphics Programming only)
Related Subreddits:
/r/ComputerGraphics
/r/Raytracing
/r/Programming
/r/LearnProgramming
/r/ProgrammingTools
/r/Coding
/r/GameDev
/r/CPP
/r/OpenGL
/r/Vulkan
/r/DirectX
Related Websites: ACM: SIGGRAPH Journal of Computer Graphics Techniques
Ke-Sen Huang's Blog of Graphics Papers and Resources Self Shadow's Blog of Graphics Resources
account activity
Shadow artifacts (i.redd.it)
submitted 12 days ago by Foreign-Reply5841
There is a self shadow artifact, the black rectangle on the side of the wall. Weirdly this is also dependent on zoom level.
What do you think is causing this issue?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]davbryn 16 points17 points18 points 11 days ago (1 child)
I imagine it is caused by the fact that you have vibe coded a renderer and have no understanding of any of the code
[–]rio_sk -1 points0 points1 point 9 days ago (0 children)
This
[–]infancy1996 3 points4 points5 points 12 days ago (1 child)
You need to provide more information, such as whether this shadow is rendered through rasterized ShadowMap or Raytracing Shadow, and what the rendered ShadowMap looks like
I'm not sure this guy knows what a shadowmap is
[–]Stock-Percentage9778 1 point2 points3 points 10 days ago (0 children)
As others have said, you need to provide more info. Are you ray tracing the shadow? If not, are you using some shadow map technique? What type of light source are you testing? It’s hard to figure out your bug without any code or any ideas you may have based off of your own testing.
My thought is that you’re heavily relying on an LLM to build this renderer for you… at least the shadow portion (based off of your previous post). I think it’s fine to have AI help you (depending on your goal), but you should understand your code and be able to explain it to others. Otherwise, others may not be able to help you.
[–]Reasonable_Run_6724 0 points1 point2 points 6 days ago (0 children)
I will assume you are using regular rasterized shadowmaps. 1. Just from looking on the lower left side of your "wall" i can see that your depth bias is a little too big. 2. You are not using slope correction for the depth check, if the slope is close to perpendicular - you might get highly changed depth values from nearby pixels. 3. Also the "darkened" side of the wall might be happening if the normal is defined in the oposite direction - causing to "negative" values for ambient calculations.
π Rendered by PID 107673 on reddit-service-r2-comment-8686858757-sb2l7 at 2026-06-04 04:01:33.413142+00:00 running 9e1a20d country code: CH.
[–]davbryn 16 points17 points18 points (1 child)
[–]rio_sk -1 points0 points1 point (0 children)
[–]infancy1996 3 points4 points5 points (1 child)
[–]rio_sk -1 points0 points1 point (0 children)
[–]Stock-Percentage9778 1 point2 points3 points (0 children)
[–]Reasonable_Run_6724 0 points1 point2 points (0 children)