///////////////////////////////////////////////////////////////////////////
//                                                                       //
// DMG Shader v1.2                                                       //
//                                                                       //
// Author: Hi-Ban                                                        //
//                                                                       //
// This is a modification and mix of other shaders. Although some bits   //
// of code have been modified to achieve a more realistic look, all the  //
// original credits and licenses of the various codes have been left     //
// intact in the shader files.                                           //
//                                                                       //
///////////////////////////////////////////////////////////////////////////

shaders = 6
shader0 = shader-files/gb-pass-0.cg
shader1 = shader-files/gb-pass-1.cg
shader2 = shader-files/gb-pass-2.cg
shader3 = shader-files/gb-pass-3.cg
shader4 = shader-files/gb-pass-4.cg
shader5 = shader-files/gb-pass-5.cg

scale_type0 = viewport
scale0 = 1

scale_type1 = source
scale1 = 1

scale_type2 = source
scale2 = 1

scale_type3 = source
scale3 = 1

scale_type4 = source
scale4 = 1

scale_type5 = source
scale5 = 1

filter_linear0 = false
filter_linear1 = false
filter_linear2 = false
filter_linear3 = false
filter_linear4 = false
filter_linear5 = true

textures = COLOR_PALETTE;BACKGROUND;BORDER
COLOR_PALETTE = resources/dmg-palette.png
COLOR_PALETTE_linear = false
BACKGROUND = resources/dmg-background.png
BACKGROUND_linear = true
BORDER = resources/dmg-border-square-4x.png
BORDER_linear = true

parameters = "video_scale;SCALE;OUT_X;OUT_Y"
video_scale = "3.0"
SCALE = "0.6667"
OUT_X = "1600.0"
OUT_Y = "800.0"
