Skip to content

Conversation

@tarcila
Copy link
Collaborator

@tarcila tarcila commented Oct 27, 2025

This PR adds a new renderer parameter (defaults to true), to possibly disable internal tonemapping.

Along with #160, this should fix #56

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new tonemap renderer parameter (defaulting to true) that allows disabling internal tonemapping during sample accumulation. The change refactors the tonemapping logic to be conditional based on this parameter, fixing issue #56.

Key Changes

  • Added tonemap boolean parameter to renderer configuration with default value true
  • Refactored accumResults function to conditionally apply tonemapping based on the parameter
  • Updated all renderer implementations to pass full FrameGPUData instead of just FramebufferGPUData

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
visrtx_device.json Added tonemap parameter definition to all renderer configurations
Renderer.h/.cpp Added tonemap member variable, getter method, and parameter handling
gpu_objects.h Added tonemap field to RendererGPUData structure
gpu_util.h Refactored accumResults to conditionally apply tonemapping based on renderer parameter
*_ptx.cu files Updated all accumResults calls to pass frameData instead of frameData.fb

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot suggestion

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jeffamstutz jeffamstutz merged commit d626a24 into NVIDIA:next_release Oct 28, 2025
5 checks passed
@tarcila tarcila deleted the add-tonemap-renderer-parameter branch October 28, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to avoid edge color bleeding when rendering on transparent background

2 participants