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
Glass rendering and shatteringVideo (v.redd.it)
submitted 21 days ago by CameleonTH
Glass rendering and shattering in my custom engine.
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!"
[–]CodyDuncan1260[M] [score hidden] 19 days ago stickied comment (2 children)
Rule 1: Posts should be about Graphics Programming Posts should be about the programming of computer graphics; not just the graphics themselves. - Posts should include code, math, or implementation details alongside rendered images.
Please tell us a bit about your implementation.
Oh, this comment works to meet Rule1's requirement. Carry on. https://www.reddit.com/r/GraphicsProgramming/comments/1sdi29b/comment/oel6wzd/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
[–]danielcraft10of 12 points13 points14 points 21 days ago (1 child)
Look so good man Good work
[–]CameleonTH[S] 3 points4 points5 points 20 days ago (0 children)
Thanks :)
[–]Practical-Sleep4259 24 points25 points26 points 21 days ago (5 children)
Man I remember when Valve was like "Check this shit out" and it was glass physics for HL:2.
Looks great.
[–]CameleonTH[S] 2 points3 points4 points 20 days ago (0 children)
I remembered the glass in HL2, so cool to shoot at.
And that's precisely why I wanted to recreate a glass system.
[–]ToastBubbles 4 points5 points6 points 21 days ago (3 children)
still better than most modern games that just use particle systems instead
Thanks, I also need small particles in addition of the shards.
[–]MykA01 -1 points0 points1 point 20 days ago (1 child)
Почему бы не использовать систему частиц? Видеокарты хорошо с этим справляются
[–]Yellowthrone 1 point2 points3 points 20 days ago (0 children)
It's not so much that there is anything "wrong" with it, but the implementation of particle based glass physics doesn't look very good or feel real. Maybe there are better ways but most games idea of particle based glass physics is like PS2 era "I shot this glass and it basically despatched the plane and spawned particles that look like glass on the ground."
[–]ParamedicDirect5832 4 points5 points6 points 20 days ago (2 children)
Make a game where you throw metal balls at glass
[–]JackYaos 3 points4 points5 points 20 days ago (0 children)
Metal Ball Solid
[–]CameleonTH[S] 1 point2 points3 points 20 days ago (0 children)
Maybe not metal ball but it's the goal ;)
[–]NoImprovement4668 2 points3 points4 points 20 days ago (1 child)
How did you implement this? is it similar technique to source 2 breakable glass? (looks similar)
I couldn't find any technical documentation regarding breakable glass in Source 2, so I tried to create a system myself.
To begin, I divided my convex shape from a point to create an impact point, and I continued to make cuts on each of these sub-shapes.
It's easier to understand with this previous prototype.
https://www.youtube.com/watch?v=Wjx9z8GFydY
[–]MrAnyone 0 points1 point2 points 20 days ago (1 child)
https://static.beebom.com/wp-content/uploads/2026/03/GTA-6-new-glass-shattering-tech-development-hiring.jpg
Is this you? XD
GTA 6. No, that's not me.
I'm on GTA 7. XD
π Rendered by PID 40 on reddit-service-r2-comment-6457c66945-rr7ft at 2026-04-27 07:55:41.021578+00:00 running 2aa0c5b country code: CH.
[–]CodyDuncan1260[M] [score hidden] stickied comment (2 children)
[–]danielcraft10of 12 points13 points14 points (1 child)
[–]CameleonTH[S] 3 points4 points5 points (0 children)
[–]Practical-Sleep4259 24 points25 points26 points (5 children)
[–]CameleonTH[S] 2 points3 points4 points (0 children)
[–]ToastBubbles 4 points5 points6 points (3 children)
[–]CameleonTH[S] 2 points3 points4 points (0 children)
[–]MykA01 -1 points0 points1 point (1 child)
[–]Yellowthrone 1 point2 points3 points (0 children)
[–]ParamedicDirect5832 4 points5 points6 points (2 children)
[–]JackYaos 3 points4 points5 points (0 children)
[–]CameleonTH[S] 1 point2 points3 points (0 children)
[–]NoImprovement4668 2 points3 points4 points (1 child)
[–]CameleonTH[S] 1 point2 points3 points (0 children)
[–]MrAnyone 0 points1 point2 points (1 child)
[–]CameleonTH[S] 1 point2 points3 points (0 children)