Skip to content

Avoid excess F_ab sampling in solari#24313

Open
dylansechet wants to merge 1 commit into
bevyengine:mainfrom
dylansechet:solari_brdf_fab_perf
Open

Avoid excess F_ab sampling in solari#24313
dylansechet wants to merge 1 commit into
bevyengine:mainfrom
dylansechet:solari_brdf_fab_perf

Conversation

@dylansechet
Copy link
Copy Markdown
Contributor

Objective

Avoid sampling the F_AB LUT more times than necessary.

Solution

Make the caller compute F_AB and pass it down to the brdf functions.

Testing

The solari example runs in rt and pathtracing mode.

@JMS55
Copy link
Copy Markdown
Contributor

JMS55 commented May 15, 2026

I'll also measure perf when I get a chance.

@JMS55
Copy link
Copy Markdown
Contributor

JMS55 commented May 15, 2026

Ever so slightly faster (tbh could just be noise), but still worth doing imo.

@mnmaita mnmaita added A-Rendering Drawing game state to the screen C-Performance A change motivated by improving speed, memory usage or compile times D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels May 16, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Rendering May 16, 2026
@mnmaita mnmaita added the D-Shaders This code uses GPU shader languages label May 16, 2026
@JMS55 JMS55 added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Performance A change motivated by improving speed, memory usage or compile times D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes D-Shaders This code uses GPU shader languages S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

4 participants