diff --git a/bezel/Mega_Bezel/README.md b/bezel/Mega_Bezel/README.md index a07c774..b6c40dc 100644 --- a/bezel/Mega_Bezel/README.md +++ b/bezel/Mega_Bezel/README.md @@ -3,7 +3,7 @@ Mega Bezel Shader Readme ------------------------------------------------------------------------------------------------------------ ![Mega Bezel Logo](MegaBezelLogo.png) -**Version V1.4.0_2022-09-26** +**Version V1.4.2_2022-09-27** ---------------------------------------- ---------------------------------------- diff --git a/bezel/Mega_Bezel/shaders/ShaderTodo.txt b/bezel/Mega_Bezel/shaders/ShaderTodo.txt index ff49d59..7b3e3d0 100644 --- a/bezel/Mega_Bezel/shaders/ShaderTodo.txt +++ b/bezel/Mega_Bezel/shaders/ShaderTodo.txt @@ -1,10 +1,9 @@ ![Mega_Bezel_Logo|512x256, 75%](upload://6PNkvcMF9Go9Wnk6OJXfYR1opXI.png) -Mega Bezel is updated to V1.4.0_2022-09-26 +Mega Bezel is updated to V1.4.2_2022-09-27 Changes: - * Updated all the blur paths to match the new paths in the libretro repo - * Adjusted some caching to be slightly faster + * Fixed LCD Grid and Easymode ---------------------------------------------------- --- TODO --------------------------------------- diff --git a/bezel/Mega_Bezel/shaders/base/common/params-0-screen-scale.inc b/bezel/Mega_Bezel/shaders/base/common/params-0-screen-scale.inc index 53fdb88..e59a43c 100644 --- a/bezel/Mega_Bezel/shaders/base/common/params-0-screen-scale.inc +++ b/bezel/Mega_Bezel/shaders/base/common/params-0-screen-scale.inc @@ -23,7 +23,7 @@ */ // Screen Scale Required Parameters -#pragma parameter HSM_MEGA_BEZEL_TITLE "[ --- HSM MEGA BEZEL V1.4.0_2022-09-26 --- ]" 0 0 0.01 0.01 +#pragma parameter HSM_MEGA_BEZEL_TITLE "[ --- HSM MEGA BEZEL V1.4.2_2022-09-27 --- ]" 0 0 0.01 0.01 #pragma parameter HSM_RESOLUTION_DEBUG_ON " Show Resolution Info" 0 0 1 1 float HSM_RESOLUTION_DEBUG_ON = global.HSM_RESOLUTION_DEBUG_ON; diff --git a/bezel/Mega_Bezel/shaders/base/text-resolution.inc b/bezel/Mega_Bezel/shaders/base/text-resolution.inc index 48a6e60..7947a83 100644 --- a/bezel/Mega_Bezel/shaders/base/text-resolution.inc +++ b/bezel/Mega_Bezel/shaders/base/text-resolution.inc @@ -408,7 +408,7 @@ float DrawResolutions(vec2 uv, vec2 viewport_size, vec2 screen_size, vec2 dereze col += GetChar(ch_per, uv); col += GetChar(ch_4, uv); col += GetChar(ch_per, uv); - col += GetChar(ch_0, uv); + col += GetChar(ch_2, uv); col += GetChar(ch_spc, uv); // Date @@ -421,7 +421,7 @@ float DrawResolutions(vec2 uv, vec2 viewport_size, vec2 screen_size, vec2 dereze col += GetChar(ch_9, uv); col += GetChar(ch_dsh, uv); col += GetChar(ch_2, uv); - col += GetChar(ch_6, uv); + col += GetChar(ch_7, uv); // Line 01 Title ---------------------------------------------------------- diff --git a/bezel/Mega_Bezel/shaders/easymode/hsm-crt-easymode-halation.inc b/bezel/Mega_Bezel/shaders/easymode/hsm-crt-easymode-halation.inc index d22a946..57e433a 100644 --- a/bezel/Mega_Bezel/shaders/easymode/hsm-crt-easymode-halation.inc +++ b/bezel/Mega_Bezel/shaders/easymode/hsm-crt-easymode-halation.inc @@ -183,26 +183,26 @@ void main() vec2 cache_bounds_coord = SCREEN_COORD; -// If it's the potato preset render the whole frame -#ifndef IS_POTATO_PRESET -#ifndef IS_NO_REFLECT_PRESET - vec2 bezel_outside_flat_coord; - vec2 frame_outside_flat_coord; - HSM_GetSimpleBezelCoords(TUBE_DIFFUSE_COORD, - TUBE_DIFFUSE_SCALE, - TUBE_SCALE, - SCREEN_ASPECT, - bezel_outside_flat_coord, - frame_outside_flat_coord); - cache_bounds_coord = (frame_outside_flat_coord - 0.5) * 0.9 + 0.5; -#endif -#endif +// // If it's the potato preset render the whole frame +// #ifndef IS_POTATO_PRESET +// #ifndef IS_NO_REFLECT_PRESET +// vec2 bezel_outside_flat_coord; +// vec2 frame_outside_flat_coord; +// HSM_GetSimpleBezelCoords(TUBE_DIFFUSE_COORD, +// TUBE_DIFFUSE_SCALE, +// TUBE_SCALE, +// SCREEN_ASPECT, +// bezel_outside_flat_coord, +// frame_outside_flat_coord); +// cache_bounds_coord = (frame_outside_flat_coord - 0.5) * 0.9 + 0.5; +// #endif +// #endif - if (HHLP_IsOutsideCoordSpace(cache_bounds_coord)) - { - FragColor = vec4(0); - return; - } +// if (HHLP_IsOutsideCoordSpace(cache_bounds_coord)) +// { +// FragColor = vec4(0); +// return; +// } vec2 midpoint = vec2(0.5, 0.5); float scan_offset = 0; diff --git a/bezel/Mega_Bezel/shaders/lcd-cgwg/hsm-lcd-grid-v2.inc b/bezel/Mega_Bezel/shaders/lcd-cgwg/hsm-lcd-grid-v2.inc index 57fb6b5..25e943c 100644 --- a/bezel/Mega_Bezel/shaders/lcd-cgwg/hsm-lcd-grid-v2.inc +++ b/bezel/Mega_Bezel/shaders/lcd-cgwg/hsm-lcd-grid-v2.inc @@ -107,26 +107,26 @@ void main() vec2 cache_bounds_coord = SCREEN_COORD; -// If it's the potato preset render the whole frame -#ifndef IS_POTATO_PRESET -#ifndef IS_NO_REFLECT_PRESET - vec2 bezel_outside_flat_coord; - vec2 frame_outside_flat_coord; - HSM_GetSimpleBezelCoords(TUBE_DIFFUSE_COORD, - TUBE_DIFFUSE_SCALE, - TUBE_SCALE, - SCREEN_ASPECT, - bezel_outside_flat_coord, - frame_outside_flat_coord); - cache_bounds_coord = (frame_outside_flat_coord - 0.5) * 0.9 + 0.5; -#endif -#endif +// // If it's the potato preset render the whole frame +// #ifndef IS_POTATO_PRESET +// #ifndef IS_NO_REFLECT_PRESET +// vec2 bezel_outside_flat_coord; +// vec2 frame_outside_flat_coord; +// HSM_GetSimpleBezelCoords(TUBE_DIFFUSE_COORD, +// TUBE_DIFFUSE_SCALE, +// TUBE_SCALE, +// SCREEN_ASPECT, +// bezel_outside_flat_coord, +// frame_outside_flat_coord); +// cache_bounds_coord = (frame_outside_flat_coord - 0.5) * 0.9 + 0.5; +// #endif +// #endif - if (HHLP_IsOutsideCoordSpace(cache_bounds_coord)) - { - FragColor = vec4(0); - return; - } +// if (HHLP_IsOutsideCoordSpace(cache_bounds_coord)) +// { +// FragColor = vec4(0); +// return; +// } vec2 screen_curved_coord = HSM_GetCRTShaderCurvedCoord(SCREEN_COORD); vec2 curved_coord = HSM_GetMirrorWrappedCoord(screen_curved_coord);