thebookofshaders/07/SUMMARY.md

2 lines
387 B
Markdown
Raw Normal View History

2016-04-23 15:58:02 +00:00
Let's look at how to draw simple shapes in a parallel procedural way. In a nutshell, all you need to do is to determine if each pixel belongs to the shape you want to draw or not, and apply different colors accordingly. You can use coordinate system like a grid paper to draw rectangles and squares. We'll look at more advanced concept called distance field to draw more complex shapes.