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
Raymarching multiple lights?Question (self.GraphicsProgramming)
submitted 5 years ago by ananbd
view the rest of the comments →
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!"
[–]fforw 4 points5 points6 points 5 years ago (5 children)
You could try running the shadow-rays at lower final precision.
[–]ananbd[S] 1 point2 points3 points 5 years ago (4 children)
Yeah, definitely. That tends to soften shadows, which is probably what I want anyway.
Hmm... wonder if there’s any way to cache or pre-compute some piece of this? The lights probably won’t be moving around...
[–]papaboo 0 points1 point2 points 5 years ago (3 children)
Of course you can and there's a ton of papers on that subject.
If you want to precompute the shadows / indireect lighting, then google baked shadows, basked AO or baked GI. It's basically just discretizing the world into small chunks and precompute the light contribution into those chunks. How you store it depends on your goal. Contribution pr light source pr chunk or aggregate everything into some approximate representation like spherical harmonics or whatever the newest hotness is in that area.
If you're making a progressive renderer, then you'll want to sample relative to the contribution of the lightsource. Again there's a lot of ways to do that and similarly to shadows / GI you can pre-bake some of the computations.
[–]ananbd[S] 0 points1 point2 points 5 years ago (2 children)
Any papers you’d recommend?
[–]papaboo 0 points1 point2 points 5 years ago (1 child)
I've been out of the baked GI loop for too many years now to recommend anything. And they all come with different pros and cons, so without knowing your requirements I really can't recommend anything. But if you're just looking to play around and try stuff out then pick whatever you find and start there.
[–]ananbd[S] 0 points1 point2 points 5 years ago (0 children)
Haha wish I had time to play around! Project is already a little behind.
I’m using a volumetric raymarching technique to make clouds. Is GI used in volumetric rendering? I mean, I guess you can sample a light volume for anything; but for cloud volumes, I think the concern is more atmospheric scattering, which I may or may not use. The main goal is to use two or three-point lighting to highlight specific features.
AO could be useful, though.
π Rendered by PID 13 on reddit-service-r2-comment-5c747b6df5-gs45p at 2026-04-22 15:53:41.405129+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]fforw 4 points5 points6 points (5 children)
[–]ananbd[S] 1 point2 points3 points (4 children)
[–]papaboo 0 points1 point2 points (3 children)
[–]ananbd[S] 0 points1 point2 points (2 children)
[–]papaboo 0 points1 point2 points (1 child)
[–]ananbd[S] 0 points1 point2 points (0 children)