Academy Shaders Quiz
Questions covering the core concepts, tools, and real-world scenarios IT professionals encounter in Academy Shaders.
This category currently has 40 questions in the SERVBG quiz bank. Below are a few sample questions: the full interactive quiz shuffles through the whole set with instant scoring.
Sample questions
In the graphics pipeline vertex stage, rasteriser, fragment stage, which stage is NOT programmable?
- Every stage became programmable in 2001
- The fragment stage
- The vertex stage
- The rasteriser
- Both programmable ends, only the driver is fixed
What is the one output a vertex shader is required to write?
- A texture coordinate for every sampler
- The depth value for the z-buffer
- gl_FragColor, the final pixel colour
- The triangle's surface normal
- gl_Position, the clip-space position of the vertex
What is the one value a GLSL ES 1.00 fragment shader is required to write?
- The vertex index it was generated from
- gl_Position, a clip-space coordinate
- The number of raymarch steps it used
- gl_FragColor, a colour
- A varying for the next stage to read
What makes a value a 'uniform' in a shader?
- The GPU picks its value at random each frame
- The CPU sets it once per draw call and it is identical for every fragment in that call
- It is uniform in size, always exactly four bytes
- It changes smoothly across the surface of each triangle
- Each fragment computes its own copy of it
A varying is written per what, and read per what?
- Written per vertex, read per fragment
- Written per texture, read per sampler
- Written per triangle, read per triangle
- Written per fragment, read per vertex
- Written per draw call, read per frame
Related categories
Python (Coding)
Python syntax and standard-library usage, from quick scripts to full applications.
JavaScript (Coding)
Core JavaScript behavior and async patterns, including the quirks that trip up beginners and veterans alike.
Linux
Linux command-line usage, file permissions, process management. The daily admin tasks.
Security
General information security concepts: common threats and standard defenses.
Hardware
Hardware components, how they interact, and basic troubleshooting to keep systems running.