Skip to content

Rationale for Hardcoded 1.5 Gamma? #318

Open
@ChthonVII

Description

@ChthonVII

(I'd have create a "discussion" rather than an "issue" if this repo has "discussions" enabled.)

For the standalone build, there's a default 1.5 gamma.

For the libretro build, it's a hardcoded 1.5 gamma.

Why?

Where did this come from? Does this reflect something the SNES is doing internally? Or is it a kludge to make thing look better on sRGB monitors?

(In the latter case, that's quite the mean joke on all the developers who've poured countless hours into developing shaders that assume they're getting raw R'G'B' from the emulator when they're not...)

Edit:
Additionally, the gamma ramp that Byuu said was a kludge is disabled for the standalone build (perhaps because the 1.5 gamma does a similar job?), but apparently not for libretro. Which looks like it means that libretro is getting the gamma ramp and 1.5 gamma on top of that. And neither one can be turned off in libretro to give shader authors the raw R'G'B' they think they're getting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions