Skip to content

Commit 1d25a68

Browse files
committed
wip
1 parent 7d230fb commit 1d25a68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

HelloVulkan/Source/Apps/AppPBRShadow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ void AppPBRShadow::UpdateUI()
178178
static float staticLightPos[3] = { -5.f, 30.0f, 5.0f};
179179

180180
imguiPtr_->ImGuiStart();
181-
imguiPtr_->ImGuiSetWindow("Bindless Shadow Mapping", 525, 650);
181+
imguiPtr_->ImGuiSetWindow("Cascade Shadow Mapping", 525, 550);
182182
imguiPtr_->ImGuiShowFrameData(&frameCounter_);
183183

184184
ImGui::Text("Vertices: %i, Indices: %i", scene_->vertices_.size(), scene_->indices_.size());

Shaders/ShadowMapping/Scene.frag

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ void main()
136136
fragColor = vec4(color, 1.0);
137137

138138
// For debugging
139-
switch (cascadeIndex)
139+
/*switch (cascadeIndex)
140140
{
141141
case 0: fragColor.rgb *= vec3(1.0f, 0.25f, 0.25f); break;
142142
case 1: fragColor.rgb *= vec3(0.25f, 1.0f, 0.25f); break;
143143
case 2: fragColor.rgb *= vec3(0.25f, 0.25f, 1.0f); break;
144144
case 3: fragColor.rgb *= vec3(1.0f, 0.25f, 0.25f); break;
145-
}
145+
}*/
146146
}

0 commit comments

Comments
 (0)