mirror of
https://github.com/libretro/slang-shaders.git
synced 2024-11-27 10:30:24 +00:00
add gba console-borders
This commit is contained in:
parent
cc9d9efefc
commit
7e7414103b
27
handheld/console-border/gba-2x.slangp
Normal file
27
handheld/console-border/gba-2x.slangp
Normal file
@ -0,0 +1,27 @@
|
||||
shaders = "2"
|
||||
|
||||
shader0 = "../shaders/lcd-cgwg/lcd-grid.slang"
|
||||
filter_linear0 = "false"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "4.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "4.000000"
|
||||
|
||||
shader1 = "shader-files/border.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
|
||||
parameters = "box_scale;in_res_x;in_res_y;border_zoom_x;border_zoom_y"
|
||||
GRID_STRENGTH = "0.150000"
|
||||
box_scale = "2.0"
|
||||
in_res_x = "240.0"
|
||||
in_res_y = "160.0"
|
||||
border_zoom_x = "1.05"
|
||||
border_zoom_y = "1.18"
|
||||
|
||||
textures = "BORDER"
|
||||
BORDER = "resources/gba-border-square-4x.png"
|
||||
BORDER_linear = "true"
|
||||
BORDER_wrap_mode = "clamp_to_border"
|
||||
BORDER_mipmap = "false"
|
27
handheld/console-border/gba-3x.slangp
Normal file
27
handheld/console-border/gba-3x.slangp
Normal file
@ -0,0 +1,27 @@
|
||||
shaders = "2"
|
||||
|
||||
shader0 = "../shaders/lcd-cgwg/lcd-grid.slang"
|
||||
filter_linear0 = "false"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "4.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "4.000000"
|
||||
|
||||
shader1 = "shader-files/border.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
|
||||
parameters = "box_scale;in_res_x;in_res_y;border_zoom_x;border_zoom_y"
|
||||
GRID_STRENGTH = "0.150000"
|
||||
box_scale = "3.0"
|
||||
in_res_x = "240.0"
|
||||
in_res_y = "160.0"
|
||||
border_zoom_x = "0.70"
|
||||
border_zoom_y = "0.79"
|
||||
|
||||
textures = "BORDER"
|
||||
BORDER = "resources/gba-border-square-4x.png"
|
||||
BORDER_linear = "true"
|
||||
BORDER_wrap_mode = "clamp_to_border"
|
||||
BORDER_mipmap = "false"
|
27
handheld/console-border/gba-4x.slangp
Normal file
27
handheld/console-border/gba-4x.slangp
Normal file
@ -0,0 +1,27 @@
|
||||
shaders = "2"
|
||||
|
||||
shader0 = "../shaders/lcd-cgwg/lcd-grid.slang"
|
||||
filter_linear0 = "false"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "4.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "4.000000"
|
||||
|
||||
shader1 = "shader-files/border.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
|
||||
parameters = "box_scale;in_res_x;in_res_y;border_zoom_x;border_zoom_y"
|
||||
GRID_STRENGTH = "0.150000"
|
||||
box_scale = "4.0"
|
||||
in_res_x = "240.0"
|
||||
in_res_y = "160.0"
|
||||
border_zoom_x = "0.52"
|
||||
border_zoom_y = "0.59"
|
||||
|
||||
textures = "BORDER"
|
||||
BORDER = "resources/gba-border-square-4x.png"
|
||||
BORDER_linear = "true"
|
||||
BORDER_wrap_mode = "clamp_to_border"
|
||||
BORDER_mipmap = "false"
|
27
handheld/console-border/gba-5x.slangp
Normal file
27
handheld/console-border/gba-5x.slangp
Normal file
@ -0,0 +1,27 @@
|
||||
shaders = "2"
|
||||
|
||||
shader0 = "../shaders/lcd-cgwg/lcd-grid.slang"
|
||||
filter_linear0 = "false"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "6.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "6.000000"
|
||||
|
||||
shader1 = "shader-files/border.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
|
||||
parameters = "box_scale;in_res_x;in_res_y;border_zoom_x;border_zoom_y"
|
||||
GRID_STRENGTH = "0.150000"
|
||||
box_scale = "5.0"
|
||||
in_res_x = "240.0"
|
||||
in_res_y = "160.0"
|
||||
border_zoom_x = "0.42"
|
||||
border_zoom_y = "0.47"
|
||||
|
||||
textures = "BORDER"
|
||||
BORDER = "resources/gba-border-square-4x.png"
|
||||
BORDER_linear = "true"
|
||||
BORDER_wrap_mode = "clamp_to_border"
|
||||
BORDER_mipmap = "false"
|
27
handheld/console-border/gba-6x.slangp
Normal file
27
handheld/console-border/gba-6x.slangp
Normal file
@ -0,0 +1,27 @@
|
||||
shaders = "2"
|
||||
|
||||
shader0 = "../shaders/lcd-cgwg/lcd-grid.slang"
|
||||
filter_linear0 = "false"
|
||||
wrap_mode0 = "clamp_to_border"
|
||||
scale_type_x0 = "source"
|
||||
scale_x0 = "6.000000"
|
||||
scale_type_y0 = "source"
|
||||
scale_y0 = "6.000000"
|
||||
|
||||
shader1 = "shader-files/border.slang"
|
||||
filter_linear1 = "true"
|
||||
wrap_mode1 = "clamp_to_border"
|
||||
|
||||
parameters = "box_scale;in_res_x;in_res_y;border_zoom_x;border_zoom_y"
|
||||
GRID_STRENGTH = "0.150000"
|
||||
box_scale = "6.0"
|
||||
in_res_x = "240.0"
|
||||
in_res_y = "160.0"
|
||||
border_zoom_x = "0.35"
|
||||
border_zoom_y = "0.39"
|
||||
|
||||
textures = "BORDER"
|
||||
BORDER = "resources/gba-border-square-4x.png"
|
||||
BORDER_linear = "true"
|
||||
BORDER_wrap_mode = "clamp_to_border"
|
||||
BORDER_mipmap = "false"
|
Loading…
Reference in New Issue
Block a user