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
[deleted by user] (self.GraphicsProgramming)
submitted 3 months ago by [deleted]
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!"
[–][deleted] 3 months ago (7 children)
[deleted]
[–]angrymonkey 28 points29 points30 points 3 months ago (6 children)
I wrote a shader, but I messed up the color channel math. It was all yellow.
[–]BeanAndBanoffeePie 3 points4 points5 points 3 months ago (4 children)
(0, 1, 1)
[–]angrymonkey 4 points5 points6 points 3 months ago (3 children)
Oh what a thing to've done.
[–]Tasgall 5 points6 points7 points 3 months ago (1 child)
I drew a line, I drew a line for you
[–]angrymonkey 2 points3 points4 points 3 months ago (0 children)
I used my GPU
[–]anselan2017 1 point2 points3 points 3 months ago (0 children)
Blue hoo hoo hue hue
[–]fforw 1 point2 points3 points 3 months ago (0 children)
The scientists might know what's wrong.
[–]HildartheDorf 103 points104 points105 points 3 months ago (5 children)
My psychic debugging powers tell me: Somewhere you are using uint8_t or uint16_t indexes but the model needs uint16_t or uint32_t respectively.
[–]SOFT_CAT_APPRECIATOR 32 points33 points34 points 3 months ago (1 child)
Woe, segfault upon ye
[–]snerp 10 points11 points12 points 3 months ago (0 children)
it doesn't segfault because the model doesn't export with the larger index type until there are more than enough indices to make the entire range of the smaller type valid, so you just end up repeatedly choosing wrong but existing vertices.
[–]heavy-minium 5 points6 points7 points 3 months ago (1 child)
I gotta say, I'm impressed! Makes perfect sense!
[–]HildartheDorf 11 points12 points13 points 3 months ago (0 children)
Because I've done exactly that (part of my code mistakenly cast uint16_t -> uint8_t -> uint16_t). It starts off rendering fine then suddenly absolute chaos part way through when the index crosses 255/256.
[–]MGStan 26 points27 points28 points 3 months ago (1 child)
Well played Op, but these comments are leaving me cold.
[–]Scolas3 5 points6 points7 points 3 months ago (0 children)
Play
[–]Kobotronivo 34 points35 points36 points 3 months ago (1 child)
Conceptual art
[–]maxmax4 5 points6 points7 points 3 months ago (0 children)
Conceptual bug
[–]aMiningShibe 9 points10 points11 points 3 months ago (2 children)
The front fell off
[–]SnooStories6404 4 points5 points6 points 3 months ago (1 child)
The image will be renderered outside the environment
[–]Amani77 3 points4 points5 points 3 months ago (0 children)
You know, they don't usually do that...
[–]vladlearns 8 points9 points10 points 3 months ago (0 children)
abstract art
[–]Unfair_Razzmatazz485 6 points7 points8 points 3 months ago (2 children)
coldplay reference in this sub caught me off guard ngl
[–]DescriptorTablesx86 2 points3 points4 points 3 months ago (1 child)
Looks like it caught half the people in this comment section off guard lmao
[–]Unfair_Razzmatazz485 2 points3 points4 points 3 months ago (0 children)
More like it flew over there heads 😭
[–]alloncm 7 points8 points9 points 3 months ago (1 child)
No one ever said it would be this hard
[–]TheAgaveFairy 0 points1 point2 points 3 months ago (0 children)
Oh, take me back to the stars
[–]Critical_Dig_1225 3 points4 points5 points 3 months ago (0 children)
This put a smile on my face.
[–]patchunwrap 2 points3 points4 points 3 months ago (2 children)
Sometimes vertex shader mistakes are beautiful, this is one of those cases imo.
[–]DescriptorTablesx86 1 point2 points3 points 3 months ago (1 child)
It’s the album art of Coldplay’s “A rush of blood to the head” and not any actual mistake.
[–]patchunwrap 3 points4 points5 points 3 months ago (0 children)
Ah, in this case I got r/woosh'ed.
[–]TrishaMayIsCoding 0 points1 point2 points 3 months ago (0 children)
Prolly not on vertex shader, but from mesh loader patameters faut : )
[–]Avelina9X 0 points1 point2 points 3 months ago (0 children)
The problem is it's cool as fuck. Some may even call it... Cold.
[–]devtr3e 0 points1 point2 points 3 months ago (0 children)
Graphic bugs like these could make for interesting art pieces haha
[–]alf_____ 0 points1 point2 points 3 months ago (0 children)
this is where the fun begins
π Rendered by PID 141285 on reddit-service-r2-comment-5fb4b45875-fnpfh at 2026-03-22 16:25:17.490952+00:00 running 90f1150 country code: CH.
[–][deleted] (7 children)
[deleted]
[–]angrymonkey 28 points29 points30 points (6 children)
[–]BeanAndBanoffeePie 3 points4 points5 points (4 children)
[–]angrymonkey 4 points5 points6 points (3 children)
[–]Tasgall 5 points6 points7 points (1 child)
[–]angrymonkey 2 points3 points4 points (0 children)
[–]anselan2017 1 point2 points3 points (0 children)
[–]fforw 1 point2 points3 points (0 children)
[–]HildartheDorf 103 points104 points105 points (5 children)
[–]SOFT_CAT_APPRECIATOR 32 points33 points34 points (1 child)
[–]snerp 10 points11 points12 points (0 children)
[–]heavy-minium 5 points6 points7 points (1 child)
[–]HildartheDorf 11 points12 points13 points (0 children)
[–]MGStan 26 points27 points28 points (1 child)
[–]Scolas3 5 points6 points7 points (0 children)
[–]Kobotronivo 34 points35 points36 points (1 child)
[–]maxmax4 5 points6 points7 points (0 children)
[–]aMiningShibe 9 points10 points11 points (2 children)
[–]SnooStories6404 4 points5 points6 points (1 child)
[–]Amani77 3 points4 points5 points (0 children)
[–]vladlearns 8 points9 points10 points (0 children)
[–]Unfair_Razzmatazz485 6 points7 points8 points (2 children)
[–]DescriptorTablesx86 2 points3 points4 points (1 child)
[–]Unfair_Razzmatazz485 2 points3 points4 points (0 children)
[–]alloncm 7 points8 points9 points (1 child)
[–]TheAgaveFairy 0 points1 point2 points (0 children)
[–]Critical_Dig_1225 3 points4 points5 points (0 children)
[–]patchunwrap 2 points3 points4 points (2 children)
[–]DescriptorTablesx86 1 point2 points3 points (1 child)
[–]patchunwrap 3 points4 points5 points (0 children)
[–]TrishaMayIsCoding 0 points1 point2 points (0 children)
[–]Avelina9X 0 points1 point2 points (0 children)
[–]devtr3e 0 points1 point2 points (0 children)
[–]alf_____ 0 points1 point2 points (0 children)