Fix a comment in shadowmappingcascade example
This commit is contained in:
parent
e38d201415
commit
d584b5a52b
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ public:
|
||||||
viewInfo.image = depth.image;
|
viewInfo.image = depth.image;
|
||||||
VK_CHECK_RESULT(vkCreateImageView(device, &viewInfo, nullptr, &depth.view));
|
VK_CHECK_RESULT(vkCreateImageView(device, &viewInfo, nullptr, &depth.view));
|
||||||
|
|
||||||
// One image and framebuffer per cascade
|
// One image view and framebuffer per cascade
|
||||||
for (uint32_t i = 0; i < SHADOW_MAP_CASCADE_COUNT; i++) {
|
for (uint32_t i = 0; i < SHADOW_MAP_CASCADE_COUNT; i++) {
|
||||||
// Image view for this cascade's layer (inside the depth map)
|
// Image view for this cascade's layer (inside the depth map)
|
||||||
// This view is used to render to that specific depth image layer
|
// This view is used to render to that specific depth image layer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue