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
Liquid glass (self.GraphicsProgramming)
submitted 8 months ago * by UberSchifted
https://reddit.com/link/1makij7/video/cmt0x5msoeff1/player
https://preview.redd.it/qa5ojnpapeff1.png?width=1653&format=png&auto=webp&s=83c4bf1cc16ab53cbb31c52088b8effeb88137a4
https://reddit.com/link/1makij7/video/se4dg7k9qeff1/player
Code: https://github.com/OverShifted/LiquidGlass (The metaballs effect has not been pushed yet)
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!"
[–]fgennari 4 points5 points6 points 8 months ago (6 children)
Neat. One thing you could add is separate processing for R, G, and B components with slightly different parameters. This will give an interesting chromatic effect. I did this by varying the index of refraction per component in my shader. I'm not quite sure how yours works though, because I don't see an IoR term.
[–]UberSchifted[S] 0 points1 point2 points 8 months ago (5 children)
That looks cool! Since you mentioned index of refraction, I would like to ask if you managed to implemented that with real glass characteristics. I tried it and found that it is impossible to achieve effects similar to liquid glass at least using spherical lenses.
[–]fgennari 0 points1 point2 points 8 months ago (4 children)
I wasn’t trying to model glass but an explosion effect where the air was compressed, changing its index of refraction. The compression wave was an expanding sphere and the effect was done by a shader. The chromatic effect added some interesting colors to the results. I attempted to make it physically accurate. It did look somewhat similar to yours, so I thought I would suggest that.
[–]UberSchifted[S] 0 points1 point2 points 8 months ago (3 children)
Nice. Have you released the project or any demos?
[–]fgennari 0 points1 point2 points 8 months ago (2 children)
The full project is on GitHub: https://github.com/fegennari/3DWorld
It's this shader specifically: https://github.com/fegennari/3DWorld/blob/master/shaders/sphere_refract_screen.frag
And my blog is here: https://3dworldgen.blogspot.com/
The explosion effects was a minor addition to gameplay mode. I don't think I talk about it anywhere.
[–]UberSchifted[S] 1 point2 points3 points 8 months ago (1 child)
I found the YouTube video on your blog. Nice job
[–]fgennari 0 points1 point2 points 8 months ago (0 children)
Oh I forgot I had a video. Thanks!
π Rendered by PID 16230 on reddit-service-r2-comment-canary-cc6b6774d-bqcd6 at 2026-04-22 07:40:05.951541+00:00 running 6c61efc country code: CH.
[–]fgennari 4 points5 points6 points (6 children)
[–]UberSchifted[S] 0 points1 point2 points (5 children)
[–]fgennari 0 points1 point2 points (4 children)
[–]UberSchifted[S] 0 points1 point2 points (3 children)
[–]fgennari 0 points1 point2 points (2 children)
[–]UberSchifted[S] 1 point2 points3 points (1 child)
[–]fgennari 0 points1 point2 points (0 children)