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

Skip to content

Commit 7ec10d8

Browse files
committed
Add note about clear color order
1 parent 441072c commit 7ec10d8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

07_Depth_buffering.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,8 @@ lies at the far view plane and `0.0` at the near view plane. The initial value
475475
at each point in the depth buffer should be the furthest possible depth, which
476476
is `1.0`.
477477
478+
Note that the order of `clearValues` should be identical to the order of your attachments.
479+
478480
## Depth and stencil state
479481
480482
The depth attachment is ready to be used now, but depth testing still needs to

0 commit comments

Comments
 (0)