Skip to content

GTAONode: Optimize render target format.#31883

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev1
Sep 11, 2025
Merged

GTAONode: Optimize render target format.#31883
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev1

Conversation

@Mugen87

@Mugen87 Mugen87 commented Sep 11, 2025

Copy link
Copy Markdown
Collaborator

Related issue: -

Description

The PR changes the format of the AO render target in GTAONode from RGBA to R effectively saving 75% memory and bandwidth. For just computing AO, a render target with a single channel is sufficient.

This is a breaking change since the composite on app level must be updated. Only the r channel reports the AO now. Given the performance benefits, it's definitely worth implementing this change. I'll update the migration guide so developers are aware of this change.

@Mugen87 Mugen87 added this to the r181 milestone Sep 11, 2025
@Mugen87 Mugen87 merged commit c604c09 into mrdoob:dev Sep 11, 2025
8 checks passed
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.

1 participant