You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
457 B
Markdown
12 lines
457 B
Markdown
---
|
|
# edu-10m1
|
|
title: '§9 Exercise 2: draw a coloured triangle'
|
|
status: todo
|
|
type: task
|
|
created_at: 2026-03-13T19:54:52Z
|
|
updated_at: 2026-03-13T19:54:52Z
|
|
parent: edu-4u7w
|
|
---
|
|
|
|
Write the exercise to draw a hard-coded coloured triangle: define three vertices in a vertex buffer, write a vertex shader that passes colour through, write a fragment shader that outputs the interpolated colour. First rendered geometry. Part 3 of the Shader Programming chapter.
|