Skip to content

[Request] r57shell's PAL shader: add "USE RAW" / "USE LUT" to user-settings #165

@eugene-s-nesdev

Description

@eugene-s-nesdev

https://github.com/libretro/common-shaders/blob/master/pal/shaders/pal-r57shell.cg

Most of retroarch NES cores (and puNES standalone emulator with shaders support) have RAW-palette option.
If you're set emulator palette to RAW, and uncomment line 70 same time (#define USE_RAW)
shader will generate true-palnes palette

If you're uncomment line 74 (#define USE_LUT) shader will generate less accurate colors, but performance will increase.
NOTE: USE LUT works only when USE RAW enabled, otherwise it does nothing

This is very uncomfortable to comment/uncomment these parameters in shader source every time.
Users use this shader not only with NES but with another systems too, like snes, genesis etc, which requires keep use_raw disabled.
So if you're can, please, make GUI setting for this.

Default values must be OFF (0) for compatibility reasons.
Value ON (1) is preferred for NES systems, but it works correct only if you're set raw-palette in emulator core options.

This issue relates to all versions of r57shell PAL shader (glsl/gles, cg, etc)

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