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.
thebookofshaders/14/README.md

15 lines
704 B
Markdown

# Image processing
Graphic cards (GPUs) have the ability to chop images (called a *texture*) into smaller fragments, which are then fed to the active threads. For this task, the graphics cards are equipped with special accelerated memory types which require the image to be uploaded before being used. Like vegetables in restaurant kitchens, the elements have to be chopped and ready before cooking starts. ****we need to talk about this paragraph and improve it ****
## What is a texture?
Coming soon…
![fabric](05.jpg)
<div class="codeAndCanvas" data="texture.frag" data-imgs="kanagawa.jpg"></div>
## Playing
<div class="codeAndCanvas" data="texture-noise.frag" data-imgs="kanagawa.jpg"></div>