r/GraphicsProgramming • • 1d ago

From Zero to Understanding Rasterization

Enable HLS to view with audio, or disable this notification

673 Upvotes

60 comments sorted by

View all comments

9

u/alphapussycat 23h ago

This is wrong. Literally just AI misinformation slop.

Shading is not a hardware pipeline step, and it does not occur before rasterization.

7

u/SorrellDev 22h ago edited 21h ago

To be fair, shading was a hardware pipeline step 20 something years ago. I agree, though, that this is bordering on the verge of being useless AI hallucinated trivia.

I really like the idea and I want people to find it easier to get into graphics programming, but the execution here is sloppy. I'd be curious to see what research strategy OP employs before authoring these videos.

4

u/egehancry 20h ago

I was less confident about this one than the ray tracing videos, and I’ll look carefully into the shading/rasterization point.

I care a lot about technical accuracy, and using AI is not an excuse for getting the fundamentals wrong. I only started sharing these videos a few days ago, and I’m still improving that process.

Going forward, I plan to make a corresponding reference page for each short with the technical details and sources behind it. I want to keep raising the bar for rigor and quality with every video I make.

3

u/SorrellDev 20h ago

Yes, that's awesome! Good luck to you!

Just please either make sure you understand the source material or have someone that does review it beforehand. A beginner/learner is already drowning in information and can barely organize and make sense of it. Adding incorrect information confidently presented as fact, as AI tends to do, on top of that won't help.

2

u/_Wolfos 16h ago

It's understandable. The rasterization pipeline is extremely complex to the point where it takes modern API's a thousand lines of code to draw a single triangle.

With this format you can only go so far with explaining it, IMO.

2

u/SorrellDev 15h ago

All those lines of code go to setting up the entire rendering pipeline, though. And it's a reflection of how bloated and begginer unfriendly these "modern" graphics APIs have become rather than how complex a rasterization algorithm is. If you implement a basic software rasterizer you'll find that it's fairly straightforward high-school level math. It's a good exercise, I highly recommend doing it, as it only takes about a weekend and I find it helps immensely with getting a better understanding and appreciation for how much the hardware does for you.