diff --git a/handheld/console-border/gba-2x.slangp b/handheld/console-border/gba-2x.slangp new file mode 100644 index 0000000..3cd26cf --- /dev/null +++ b/handheld/console-border/gba-2x.slangp @@ -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" \ No newline at end of file diff --git a/handheld/console-border/gba-3x.slangp b/handheld/console-border/gba-3x.slangp new file mode 100644 index 0000000..be70db6 --- /dev/null +++ b/handheld/console-border/gba-3x.slangp @@ -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" \ No newline at end of file diff --git a/handheld/console-border/gba-4x.slangp b/handheld/console-border/gba-4x.slangp new file mode 100644 index 0000000..66f430e --- /dev/null +++ b/handheld/console-border/gba-4x.slangp @@ -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" \ No newline at end of file diff --git a/handheld/console-border/gba-5x.slangp b/handheld/console-border/gba-5x.slangp new file mode 100644 index 0000000..4abffd0 --- /dev/null +++ b/handheld/console-border/gba-5x.slangp @@ -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" \ No newline at end of file diff --git a/handheld/console-border/gba-6x.slangp b/handheld/console-border/gba-6x.slangp new file mode 100644 index 0000000..47c01bf --- /dev/null +++ b/handheld/console-border/gba-6x.slangp @@ -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" \ No newline at end of file