mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-27 09:51:30 +11:00
36 lines
1.7 KiB
PHP
36 lines
1.7 KiB
PHP
/*
|
|
Mega Bezel - Creates a graphic treatment for the game play area to give a retro feel
|
|
Copyright (C) 2019-2022 HyperspaceMadness - HyperspaceMadness@outlook.com
|
|
|
|
Incorporates much great feedback from the libretro forum, and thanks
|
|
to Hunterk who helped me get started
|
|
|
|
See more at the libretro forum
|
|
https://forums.libretro.com/t/hsm-mega-bezel-reflection-shader-feedback-and-updates
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see [http://www.gnu.org/licenses/].
|
|
*/
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// STANDARD BACKGROUND IMAGE LAYER
|
|
//---------------------------------------------------------------------------------------------------
|
|
#pragma parameter HSM_BG_IMG_EMPTY_LINE " " 0 0 0.001 0.001
|
|
#pragma parameter HSM_BG_IMG_TITLE "[ GLASS BACKGROUND IMAGE ]:" 0 0 0.01 0.01
|
|
|
|
#pragma parameter HSM_BG_OPACITY " Opacity" 100 0 100 0.1
|
|
float HSM_BG_OPACITY = global.HSM_BG_OPACITY / 100;
|
|
|
|
#pragma parameter HSM_BG_BLEND_MODE " Blend Mode - OFF | NORMAL | ADD | MULTIPLY" 1 -1 3 1
|
|
float HSM_BG_BLEND_MODE = global.HSM_BG_BLEND_MODE;
|