9 - Rendering pipeline and shaders Flashcards

1
Q

Shaders

A

programmable stages of the OpenGL rendering pipeline.

Shaders are small programs compiled at run-time by the OpenGL program, which allows more flexibility in programming rendering steps and using graphics card acceleration.

They are sent to the GPU in parallel and are written in GL Shading Language (GLSL) .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Fixed stages:

A

-
-
Vertex Post-Processing
Primitive Assembly
Rasterization
-
Per-Sample Operations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Shader stages:

A

-
Vertex
Tessellation
Geometry Shader
-
-
-
Fragment shader
-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Vertex Specification

A

the array of all vertices is defined

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Vertex shaders

A

perform basic processing of individual vertices in the scene (e.g. viewport transformation), ), whilst the next three stages perform some additional processing on the scene geometry.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Fragment shaders

A

process the fragments generated by rasterisation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Per-sample operations

A

for example, depth testing (where close/far objects are discarded) or stencil testing (where points outside a certain area are ignored).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly