Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9cc91e

Browse files
committed
Update tutorial images to correctly represent interpolation in linear color space
1 parent 7de130a commit b9cc91e

8 files changed

Lines changed: 2 additions & 0 deletions

en/03_Drawing_a_triangle/03_Drawing/02_Rendering_and_presentation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ something resembling the following when you run your program:
317317
318318
![](/images/triangle.png)
319319
320+
>This colored triangle may look a bit different from the one you're used to seeing in graphics tutorials. That's because this tutorial lets the shader interpolate in linear color space and converts to sRGB color space afterwards. See [this blog post](https://medium.com/@heypete/hello-triangle-meet-swift-and-wide-color-6f9e246616d9) for a discussion of the difference.
321+
320322
Yay! Unfortunately, you'll see that when validation layers are enabled, the
321323
program crashes as soon as you close it. The messages printed to the terminal
322324
from `debugCallback` tell us why:

images/indexed_rectangle.png

-221 KB
Loading

images/spinning_quad.png

-41.6 KB
Loading

images/texcoord_visualization.png

-21.4 KB
Loading
5.02 KB
Loading

images/triangle.png

-71.3 KB
Loading
-7.37 KB
Loading

images/triangle_white.png

-82.9 KB
Loading

0 commit comments

Comments
 (0)