Skip to content

Commit

Permalink
Merge branch 'debugAPILights' into 'main'
Browse files Browse the repository at this point in the history
[REMIX-3415] Include Remix API lights in the debug visualization

See merge request lightspeedrtx/dxvk-remix-nv!928
  • Loading branch information
MarkEHenderson committed Aug 6, 2024
2 parents c9b44c3 + c3727bd commit 9513195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dxvk/rtx_render/rtx_light_manager_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ namespace dxvk {
cFrustum frustum;
frustum.Setup(NDC_D3D, *reinterpret_cast<const float4x4*>(&worldToProj));

for (const std::pair<XXH64_hash_t, RtLight>& pair : m_lights) {
const RtLight* light = &pair.second;
for (auto&& linearizedLight : m_linearizedLights) {
const RtLight* light = linearizedLight;
if (light->getType() == RtLightType::Distant) {
continue;
}
Expand Down

0 comments on commit 9513195

Please sign in to comment.