Fix FXAA luma blue weight typo

Open Beginner friendly
#6,761 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

A pull request for this has already been merged.

  • #6753 by @trish-sl — merged

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp

Research direction

The issue names no file, so search the viewer's FXAA shader sources for the luma computation. The blue weight there should be 0.114, the Rec. 601 value, not 0.144. Check whether pull request 6753, which the issue cites, already makes this change before you start. Done when the constant matches Rec. 601 and the FXAA shader still compiles and renders.

Written by the indexing model from the issue text.

Description

The shader computes the luma that FXAA uses for edge detection with the Rec. 601 weights, but the blue weight is 0.144 instead of 0.114.

Contribution: https://github.com/secondlife/viewer/pull/6753

Dominant language
C++
Stars
310
Forks
156
Avg merge
1d 3h
Merged PRs (30d)
125

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from secondlife/viewer

All issues in secondlife/viewer

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.