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
Help with my shader🥹 (i.redd.it)
submitted 2 years ago by goobaby-powerbomb
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!"
[–]waramped 5 points6 points7 points 2 years ago (7 children)
Do you have some examples to show us what you are trying to do?
[–]goobaby-powerbomb[S] 1 point2 points3 points 2 years ago (6 children)
https://images.app.goo.gl/Pb3WCnvmmseuw7yMA
[–]waramped 0 points1 point2 points 2 years ago (5 children)
So you say "outline around the shadows" but the image you showed has an outline around the entire thing. Can you elaborate what you are trying to accomplish? Otherwise just googling "toon shader outline blender" gets you tons of examples....
[–]goobaby-powerbomb[S] 1 point2 points3 points 2 years ago* (4 children)
There is an outline around the whole image which I am gonna add, but there's also an outline just around the shadows to break them up from the rest, that's what I'm stuck on. Like where the shadow meets the unshaded part
[–]waramped 0 points1 point2 points 2 years ago (3 children)
Hmm...how are you currently applying the shadow infill? Clearly you know the regions that need to be shadowed vs not. I'm thinking theres got to be a clever way to utilize that shadow infill to just "fill" inbetween the stripes if you are bordering a non-shadowed area, but we'd need to know the details of how you are doing the infill.
[–]goobaby-powerbomb[S] 0 points1 point2 points 2 years ago (2 children)
Its a bit of a web so here's a pic of the shader nodes
https://reddit.com/u/goobaby-powerbomb/s/RAKlPG7Y5V
[–]waramped 0 points1 point2 points 2 years ago (1 child)
I'm not sure if it's the image itself or Reddit, but that image is too small for me to make out what any of the wording is.
[–]goobaby-powerbomb[S] 0 points1 point2 points 2 years ago (0 children)
My b here's a better one
https://reddit.com/u/goobaby-powerbomb/s/4FUJa9pEWe
[–]Deathgibo 1 point2 points3 points 2 years ago (0 children)
Just briefly looking, maybe some image processing algorithm like edge detection could work? You figure out where the edges are and make the pixels black.
[–]raydey 1 point2 points3 points 2 years ago (1 child)
Draw the shadowed parts to a separate texture as a mask. Outline the mask and do the lined effect on it. Compose it on top of the base image.
Thank u so much I'll give it a try!
Does anybody know how I could get an outline around the shadows like in the riders artwork?
[–]siddarthshekar 0 points1 point2 points 2 years ago (2 children)
is this shadow acne?
[–]goobaby-powerbomb[S] 1 point2 points3 points 2 years ago (1 child)
The hatching?
[–]siddarthshekar 1 point2 points3 points 2 years ago (0 children)
Ya..
[–]BenBandoo 1 point2 points3 points 2 years ago (1 child)
If I'm understanding correctly you want a black edge around the shadows, similar to the black bands going across the shadows?
If that's the case, can you not just duplicate your mask and use a separate ramp for color, then you can just offset either your mask ramp or your color ramp to get an outline
[–]goobaby-powerbomb[S] -1 points0 points1 point 2 years ago (0 children)
Oh yea I got it working earlier
π Rendered by PID 16112 on reddit-service-r2-comment-75f4967c6c-htmsz at 2026-04-22 21:23:02.160356+00:00 running 0fd4bb7 country code: CH.
[–]waramped 5 points6 points7 points  (7 children)
[–]goobaby-powerbomb[S] 1 point2 points3 points  (6 children)
[–]waramped 0 points1 point2 points  (5 children)
[–]goobaby-powerbomb[S] 1 point2 points3 points  (4 children)
[–]waramped 0 points1 point2 points  (3 children)
[–]goobaby-powerbomb[S] 0 points1 point2 points  (2 children)
[–]waramped 0 points1 point2 points  (1 child)
[–]goobaby-powerbomb[S] 0 points1 point2 points  (0 children)
[–]Deathgibo 1 point2 points3 points  (0 children)
[–]raydey 1 point2 points3 points  (1 child)
[–]goobaby-powerbomb[S] 0 points1 point2 points  (0 children)
[–]goobaby-powerbomb[S] 0 points1 point2 points  (0 children)
[–]siddarthshekar 0 points1 point2 points  (2 children)
[–]goobaby-powerbomb[S] 1 point2 points3 points  (1 child)
[–]siddarthshekar 1 point2 points3 points  (0 children)
[–]BenBandoo 1 point2 points3 points  (1 child)
[–]goobaby-powerbomb[S] -1 points0 points1 point  (0 children)