Shadow mapping sample scene selection
This commit is contained in:
parent
327994b3c3
commit
7fcb61ee94
1 changed files with 1 additions and 1 deletions
|
|
@ -934,11 +934,11 @@ public:
|
||||||
virtual void OnUpdateUIOverlay(vks::UIOverlay *overlay)
|
virtual void OnUpdateUIOverlay(vks::UIOverlay *overlay)
|
||||||
{
|
{
|
||||||
if (overlay->header("Settings")) {
|
if (overlay->header("Settings")) {
|
||||||
if (overlay->checkBox("Display shadow render target", &displayShadowMap)) {
|
|
||||||
if (overlay->comboBox("Scenes", &sceneIndex, sceneNames)) {
|
if (overlay->comboBox("Scenes", &sceneIndex, sceneNames)) {
|
||||||
buildCommandBuffers();
|
buildCommandBuffers();
|
||||||
buildOffscreenCommandBuffer();
|
buildOffscreenCommandBuffer();
|
||||||
}
|
}
|
||||||
|
if (overlay->checkBox("Display shadow render target", &displayShadowMap)) {
|
||||||
buildCommandBuffers();
|
buildCommandBuffers();
|
||||||
}
|
}
|
||||||
if (overlay->checkBox("PCF filtering", &filterPCF)) {
|
if (overlay->checkBox("PCF filtering", &filterPCF)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue