Skip to content

Commit

Permalink
fix show background
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhang95 committed Jun 20, 2024
1 parent 3a44082 commit 11c6f16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zenovis/xinxinoptix/optixPathTracer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2123,6 +2123,7 @@ void using_hdr_sky(bool enable) {

void show_background(bool enable) {
state.params.show_background = enable;
state.params.subframe_index = 0;
}

void updatePortalLights(const std::vector<Portal>& portals) {
Expand Down

0 comments on commit 11c6f16

Please sign in to comment.