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

Skip to content

Commit 69bc7a2

Browse files
authored
Remove confusing remark about depthWriteEnable
1 parent b94d090 commit 69bc7a2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

en/07_Depth_buffering.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,7 @@ depthStencil.depthWriteEnable = VK_TRUE;
500500
The `depthTestEnable` field specifies if the depth of new fragments should be
501501
compared to the depth buffer to see if they should be discarded. The
502502
`depthWriteEnable` field specifies if the new depth of fragments that pass the
503-
depth test should actually be written to the depth buffer. This is useful for
504-
drawing transparent objects. They should be compared to the previously rendered
505-
opaque objects, but not cause further away transparent objects to not be drawn.
503+
depth test should actually be written to the depth buffer.
506504

507505
```c++
508506
depthStencil.depthCompareOp = VK_COMPARE_OP_LESS;

0 commit comments

Comments
 (0)