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

Skip to content

Commit d4b105b

Browse files
committed
Fix minor typos
1 parent 9b45999 commit d4b105b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

10_Multisampling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Our program can now load multiple levels of detail for textures which fixes arti
66

77
This undesired effect is called "aliasing" and it's a result of a limited numbers of pixels that are available for rendering. Since there are no displays out there with unlimited resolution, it will be always visible to some extent. There's a number of ways to fix this and in this chapter we'll focus on one of the more popular ones: [Multisample anti-aliasing](https://en.wikipedia.org/wiki/Multisample_anti-aliasing) (MSAA).
88

9-
In ordinary rendering, the pixel color is determined based on a single sample point which in most cases is the center of target pixel on screen. If part of the drawn line passes through a certain pixel but doesn't cover the sample point, that pixel will be left blank, leading to the jagged "staircase" effect.
9+
In ordinary rendering, the pixel color is determined based on a single sample point which in most cases is the center of the target pixel on screen. If part of the drawn line passes through a certain pixel but doesn't cover the sample point, that pixel will be left blank, leading to the jagged "staircase" effect.
1010

1111
![](/images/aliasing.png)
1212

@@ -215,7 +215,7 @@ Now update render pass info struct with new color attachment:
215215

216216
```c++
217217
...
218-
std::array<VkAttachmentDescription, 3> attachments = {colorAttachment, depthAttachment, colorAttachmentResolve };
218+
std::array<VkAttachmentDescription, 3> attachments = {colorAttachment, depthAttachment, colorAttachmentResolve};
219219
...
220220
```
221221

0 commit comments

Comments
 (0)