mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-30 11:21:32 +11:00
277 lines
11 KiB
Plaintext
277 lines
11 KiB
Plaintext
|
|
HSM_RESOLUTION_DEBUG_ON = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// CRT BRIGHTNESS & GAMMA
|
|
//---------------------------------------------------------------------------------------------------
|
|
|
|
GAMMA_INPUT = 2.4
|
|
gamma_out = 2.4
|
|
post_br = 1
|
|
post_br_affect_black_level = 100
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// Global Graphics Caching
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_CACHE_GRAPHICS_ON = 1
|
|
HSM_CACHE_UPDATE_INDICATOR_MODE = 2
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// Global Graphics Brightness
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = 100
|
|
HSM_STATIC_LAYERS_GAMMA = 1
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// AMBIENT LIGHTING AKA NIGHTLIGHTING
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_AMBIENT_LIGHTING_OPACITY = 0
|
|
HSM_AMBIENT1_OPACITY = 100
|
|
HSM_AMBIENT2_OPACITY = 100
|
|
HSM_AMBIENT_LIGHTING_SWAP_IMAGE_MODE = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// Zoom & Pan
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_VIEWPORT_ZOOM = 100
|
|
HSM_VIEWPORT_ZOOM_MASK = 0
|
|
HSM_VIEWPORT_POSITION_X = 0
|
|
HSM_VIEWPORT_POSITION_Y = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// FLIP & ROTATE
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_FLIP_VIEWPORT_VERTICAL = 0
|
|
HSM_FLIP_VIEWPORT_HORIZONTAL = 0
|
|
HSM_FLIP_CORE_VERTICAL = 0
|
|
HSM_FLIP_CORE_HORIZONTAL = 0
|
|
HSM_ROTATE_CORE_IMAGE = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// ASPECT RATIO
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_ASPECT_RATIO_ORIENTATION = 0
|
|
HSM_ASPECT_RATIO_MODE = 0
|
|
HSM_ASPECT_RATIO_EXPLICIT = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// CRT SCREEN SCALING GENERAL
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_INT_SCALE_MODE = 0
|
|
HSM_VERTICAL_PRESET = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// INTEGER SCALE
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_INT_SCALE_MAX_HEIGHT = 89
|
|
HSM_INT_SCALE_MULTIPLE_OFFSET = 0
|
|
HSM_INT_SCALE_MULTIPLE_OFFSET_LONG = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// NON-INTEGER SCALE PERCENT
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_NON_INTEGER_SCALE = 82.97
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// NON-INTEGER - PHYSICAL SIZES
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_USE_PHYSICAL_SIZE_FOR_NON_INTEGER = 0
|
|
HSM_PHYSICAL_MONITOR_ASPECT_RATIO = 1.77
|
|
HSM_PHYSICAL_MONITOR_DIAGONAL_SIZE = 27
|
|
HSM_PHYSICAL_SIM_TUBE_DIAGONAL_SIZE = 18.1
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// NON-INTEGER - AUTOMATIC SCREEN SCALE & PLACEMENT
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_USE_IMAGE_FOR_PLACEMENT = 0
|
|
HSM_PLACEMENT_IMAGE_USE_HORIZONTAL = 0
|
|
HSM_PLACEMENT_IMAGE_MODE = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// NON-INTEGER SCALE OFFSET
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_NON_INTEGER_SCALE_OFFSET = 100
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// SNAP NON-INTEGER TO CLOSEST INTEGER SCALE
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_USE_SNAP_TO_CLOSEST_INT_SCALE = 0
|
|
HSM_SNAP_TO_CLOSEST_INT_SCALE_TOLERANCE = 20
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// POSITION OFFSET
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_SCREEN_POSITION_X = 0
|
|
HSM_SCREEN_POSITION_Y = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// CROPPING CORE IMAGE
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_CROP_MODE = 2
|
|
HSM_CROP_PERCENT_ZOOM = 0
|
|
HSM_CROP_PERCENT_TOP = 0
|
|
HSM_CROP_PERCENT_BOTTOM = 0
|
|
HSM_CROP_PERCENT_LEFT = 0
|
|
HSM_CROP_PERCENT_RIGHT = 0
|
|
HSM_CROP_BLACK_THRESHOLD = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// SCANLINE DIRECTION
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_SCANLINE_DIRECTION = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// DREZ DOWNSAMPLE FILTER - HYLLIAN - DREZ PRESETS ONLY
|
|
//---------------------------------------------------------------------------------------------------
|
|
C_FILTER_MODE = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// CORE RES SAMPLING
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 100
|
|
HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0
|
|
HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100
|
|
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0
|
|
HSM_CORE_RES_SAMPLING_SHIFT_OPPOSITE_DIR = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// FAST SHARPEN - GUEST.R
|
|
//---------------------------------------------------------------------------------------------------
|
|
SHARPEN = 0
|
|
CONTR = 0.05
|
|
DETAILS = 1
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// INTERLACING From Guest.r
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_INTERLACE_TRIGGER_RES = 650
|
|
HSM_INTERLACE_MODE = 4
|
|
HSM_INTERLACE_EFFECT_SMOOTHNESS_INTERS = 0
|
|
HSM_INTERLACE_SCANLINE_EFFECT = 20
|
|
icans = 0.25
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// FAKE SCANLINES
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_FAKE_SCANLINE_MODE = 2
|
|
HSM_FAKE_SCANLINE_OPACITY = 70
|
|
HSM_FAKE_SCANLINE_RES_MODE = 1
|
|
HSM_FAKE_SCANLINE_RES = 240
|
|
HSM_FAKE_SCANLINE_INT_SCALE = 1
|
|
HSM_FAKE_SCANLINE_ROLL = 0
|
|
HSM_FAKE_SCANLINE_CURVATURE = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// CURVATURE
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_CURVATURE_MODE = 1
|
|
HSM_CURVATURE_2D_SCALE_LONG_AXIS = 100
|
|
HSM_CURVATURE_2D_SCALE_SHORT_AXIS = 100
|
|
HSM_CURVATURE_3D_RADIUS = 200
|
|
HSM_CURVATURE_3D_VIEW_DIST = 150
|
|
HSM_CURVATURE_3D_TILT_ANGLE_X = 0
|
|
HSM_CURVATURE_3D_TILT_ANGLE_Y = 0
|
|
HSM_CRT_CURVATURE_SCALE = 100
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// ANTI-FLICKER
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_ANTI_FLICKER_ON = 0
|
|
HSM_ANTI_FLICKER_THRESHOLD = 25
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// A/B SPLITSCREEN COMPARE
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_AB_COMPARE_SHOW_MODE = 0
|
|
HSM_AB_COMPARE_AREA = 0
|
|
HSM_AB_COMPARE_SPLIT_POSITION = 50
|
|
HSM_AB_COMPARE_FREEZE_CRT_TUBE = 0
|
|
HSM_AB_COMPARE_FREEZE_GRAPHICS = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// SCREEN VIGNETTE
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_SCREEN_VIGNETTE_ON = 1
|
|
HSM_SCREEN_VIGNETTE_DUALSCREEN_VIS_MODE = 0
|
|
HSM_SCREEN_VIGNETTE_STRENGTH = 40
|
|
HSM_SCREEN_VIGNETTE_POWER = 26
|
|
HSM_SCREEN_VIGNETTE_IN_REFLECTION = 100
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// MONOCHROME
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_MONOCHROME_MODE = 0
|
|
HSM_MONOCHROME_BRIGHTNESS = 100
|
|
HSM_MONOCHROME_GAMMA = 1
|
|
HSM_MONOCHROME_HUE_OFFSET = 0
|
|
HSM_MONOCHROME_SATURATION = 100
|
|
HSM_MONOCHROME_DUALSCREEN_VIS_MODE = 0
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// TUBE DIFFUSE IMAGE
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_TUBE_DIFFUSE_MODE = 0
|
|
HSM_TUBE_DIFFUSE_IMAGE_AMOUNT = 100
|
|
HSM_TUBE_DIFFUSE_IMAGE_DUALSCREEN_VIS_MODE = 0
|
|
HSM_TUBE_DIFFUSE_IMAGE_COLORIZE_ON = 0
|
|
HSM_TUBE_DIFFUSE_IMAGE_HUE = 0
|
|
HSM_TUBE_DIFFUSE_IMAGE_SATURATION = 100
|
|
HSM_TUBE_DIFFUSE_IMAGE_BRIGHTNESS = 20
|
|
HSM_TUBE_DIFFUSE_IMAGE_GAMMA = 1
|
|
HSM_TUBE_DIFFUSE_IMAGE_AMBIENT_LIGHTING = 100
|
|
HSM_TUBE_DIFFUSE_IMAGE_AMBIENT2_LIGHTING = 0
|
|
HSM_TUBE_DIFFUSE_IMAGE_SCALE = 140
|
|
HSM_TUBE_DIFFUSE_IMAGE_SCALE_X = 100
|
|
HSM_TUBE_DIFFUSE_IMAGE_ROTATION = 0
|
|
HSM_TUBE_DIFFUSE_FORCE_ASPECT = 1
|
|
HSM_TUBE_EXPLICIT_ASPECT = 1.33
|
|
HSM_TUBE_EMPTY_THICKNESS = 0
|
|
HSM_TUBE_EMPTY_THICKNESS_X_SCALE = 100
|
|
HSM_SCREEN_CORNER_RADIUS_SCALE = 100
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// TUBE SHADOW IMAGE
|
|
//---------------------------------------------------------------------------------------------------
|
|
HSM_TUBE_SHADOW_IMAGE_ON = 1
|
|
HSM_TUBE_SHADOW_IMAGE_OPACITY = 60
|
|
HSM_TUBE_SHADOW_IMAGE_POS_X = 0
|
|
HSM_TUBE_SHADOW_IMAGE_POS_Y = 0
|
|
HSM_TUBE_SHADOW_IMAGE_SCALE_X = 122
|
|
HSM_TUBE_SHADOW_IMAGE_SCALE_Y = 130
|
|
HSM_TUBE_SHADOW_CURVATURE_SCALE = 300
|
|
|
|
//---------------------------------------------------------------------------------------------------
|
|
// TUBE GLASS STATIC REFLECTION IMAGE
|
|
//---------------------------------------------------------------------------------------------------
|
|
|
|
HSM_TUBE_STATIC_REFLECTION_IMAGE_ON = 0
|
|
HSM_TUBE_STATIC_REFLECTION_IMAGE_DUALSCREEN_VIS_MODE = 0
|
|
HSM_TUBE_STATIC_REFLECTION_IMAGE_OPACITY = 16
|
|
HSM_TUBE_STATIC_OPACITY_DIFFUSE_MULTIPLY = 25
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|