Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sgenpt-mix #663

Merged
merged 1 commit into from
Dec 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions dithering/shaders/sgenpt-mix.slang
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#version 450

/*
SGENPT-MIX - Sega Genesis Pseudo Transparency Mixer Shader - v9b
SGENPT-MIX - Sega Genesis Pseudo Transparency Mixer Shader - v10

2011-2024 Hyllian - [email protected]

Expand Down Expand Up @@ -38,10 +38,11 @@ layout(push_constant) uniform Push
float SGPT_LINEAR_GAMMA;
} params;

#pragma parameter SGPT_BLEND_OPTION "0: OFF | 1: VL+CB | 2: Only VL | 3: Only CB" 1.0 0.0 3.0 1.0
#pragma parameter SGPT_BLEND_LEVEL "SGENPT-MIX Blend Level" 0.85 0.0 1.0 0.05
#pragma parameter SGPT_ADJUST_VIEW "SGENPT-MIX Adjust View" 0.0 0.0 1.0 1.0
#pragma parameter SGPT_LINEAR_GAMMA "SGENPT-MIX Use Linear Gamma" 1.0 0.0 1.0 1.0
#pragma parameter SGPT_NONONO "SGENPT-MIX v10:" 0.0 0.0 1.0 1.0
#pragma parameter SGPT_BLEND_OPTION " 0: OFF | 1: VL+CB | 2: VL | 3: CB" 1.0 0.0 3.0 1.0
#pragma parameter SGPT_BLEND_LEVEL " Blend Level" 0.85 0.0 1.0 0.05
#pragma parameter SGPT_ADJUST_VIEW " Adjust View" 0.0 0.0 1.0 1.0
#pragma parameter SGPT_LINEAR_GAMMA " Use Linear Gamma" 1.0 0.0 1.0 1.0
#define SGPT_BLEND_OPTION params.SGPT_BLEND_OPTION
#define SGPT_BLEND_LEVEL params.SGPT_BLEND_LEVEL
#define SGPT_ADJUST_VIEW params.SGPT_ADJUST_VIEW
Expand Down