Graphics Programming Interview Question Tutorial

Опубликовано: 09 Май 2025
на канале: Suboptimal Engineer
2,423
136

In this shader tutorial, we will go over how to write a GLSL shader that produces a checkerboard pattern. This is a common interview question for graphics programmers. We will start by implementing a suboptimal approach that uses for-loops. Then we will optimize the shader using domain repetition.

📖 Code - https://github.com/SuboptimalEng/shad...

🎥 YouTube -    / suboptimaleng  
💻 GitHub - https://github.com/SuboptimalEng
🐦 Twitter -   / suboptimaleng  
🧵 Threads - https://www.threads.net/@suboptimaleng
📸 Instagram -   / suboptimaleng  

== [ Resources ] ==
Jeremy Ong’s Blog Post - https://www.jeremyong.com/graphics/in...
Inigo Quilez’s Articles - https://iquilezles.org/articles
The Book of Shaders - https://thebookofshaders.com
Simon Dev’s Shader Course - https://simondev.teachable.com
VS Code GLSL Shader Setup Guide -    • How to Write GLSL Shaders in VS Code  

== [ Timestamps ] ==
00:00 Graphics Interview Question
00:27 Checkerboard Shader
01:06 Domain Repetition Explained
01:46 GLSL Shader Code

== [ Tags ] ==
#suboptimal #glsl #shaders