mirror of
https://github.com/libretro/glsl-shaders.git
synced 2026-11-07 10:36:01 -10:00
* Add pixel_transparency shader for GBC/GBA transparency simulation Converts bright/white pixels to transparent areas showing a procedural paper background, simulating the look of original Game Boy screens without backlights. Features: - Multiple transparency modes (white only, bright pixels, all pixels) - Procedural paper grain background with tint options - Drop shadows with configurable blur - Color harshness filter (Gambatte-style) Includes base preset and 5 LCD shader combinations: - lcd1x, lcd3x, zfast_lcd, lcd-grid-v2, authentic_gbc_fast Ported from Slang version with GLSL ES compatibility fixes. * Add scale_type0 = viewport to LCD shader presets Adds missing scale_type0 = viewport to 15 LCD/grid shader presets to match slang-shaders equivalents. This enables proper shader appending behavior when combining LCD shaders with other effects like pixel_transparency. Affected presets: - lcd1x, lcd3x, zfast-lcd, lcd-grid - lcd1x_nds, lcd1x_psp - simpletex_lcd variants (9 files) * Add BACKGROUND_INTENSITY parameter to simpletex_lcd shaders Ports the BACKGROUND_INTENSITY parameter from slang-shaders to all simpletex_lcd GLSL shader variants. This parameter controls the visibility of the paper background texture (0.0 = none, 1.0 = full). Also adds pixel_transparency-simpletex_lcd.glslp combo preset with background intensity disabled.