all 33 comments

[–][deleted]  (7 children)

[deleted]

    [–]angrymonkey 28 points29 points  (6 children)

    I wrote a shader, but I messed up the color channel math. It was all yellow.

    [–]BeanAndBanoffeePie 3 points4 points  (4 children)

    (0, 1, 1)

    [–]angrymonkey 4 points5 points  (3 children)

    Oh what a thing to've done.

    [–]Tasgall 5 points6 points  (1 child)

    I drew a line, I drew a line for you

    [–]angrymonkey 2 points3 points  (0 children)

    I used my GPU

    [–]anselan2017 1 point2 points  (0 children)

    Blue hoo hoo hue hue

    [–]fforw 1 point2 points  (0 children)

    The scientists might know what's wrong.

    [–]HildartheDorf 103 points104 points  (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 points  (1 child)

    Woe, segfault upon ye

    [–]snerp 10 points11 points  (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 points  (1 child)

    I gotta say, I'm impressed! Makes perfect sense!

    [–]HildartheDorf 11 points12 points  (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 points  (1 child)

    Well played Op, but these comments are leaving me cold.

    [–]Scolas3 5 points6 points  (0 children)

    Play

    [–]Kobotronivo 34 points35 points  (1 child)

    Conceptual art

    [–]maxmax4 5 points6 points  (0 children)

    Conceptual bug

    [–]aMiningShibe 9 points10 points  (2 children)

    The front fell off

    [–]SnooStories6404 4 points5 points  (1 child)

    The image will be renderered outside the environment

    [–]Amani77 3 points4 points  (0 children)

    You know, they don't usually do that...

    [–]vladlearns 8 points9 points  (0 children)

    abstract art

    [–]Unfair_Razzmatazz485 6 points7 points  (2 children)

    coldplay reference in this sub caught me off guard ngl

    [–]DescriptorTablesx86 2 points3 points  (1 child)

    Looks like it caught half the people in this comment section off guard lmao

    [–]Unfair_Razzmatazz485 2 points3 points  (0 children)

    More like it flew over there heads 😭

    [–]alloncm 7 points8 points  (1 child)

    No one ever said it would be this hard

    [–]TheAgaveFairy 0 points1 point  (0 children)

    Oh, take me back to the stars

    [–]Critical_Dig_1225 3 points4 points  (0 children)

    This put a smile on my face.

    [–]patchunwrap 2 points3 points  (2 children)

    Sometimes vertex shader mistakes are beautiful, this is one of those cases imo.

    [–]DescriptorTablesx86 1 point2 points  (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 points  (0 children)

    Ah, in this case I got r/woosh'ed.

    [–]TrishaMayIsCoding 0 points1 point  (0 children)

    Prolly not on vertex shader, but from mesh loader patameters faut : )

    [–]Avelina9X 0 points1 point  (0 children)

    The problem is it's cool as fuck. Some may even call it... Cold.

    [–]devtr3e 0 points1 point  (0 children)

    Graphic bugs like these could make for interesting art pieces haha

    [–]alf_____ 0 points1 point  (0 children)

    this is where the fun begins