Homepage Forums RetroPie Project Video Output on RetroPie GameBoy Shaders? Reply To: GameBoy Shaders?

#90792
koffieleut
Participant

I just can’t get the shader to work.
I followed everything on this topic, used all the files and edited my gb cfg file.

cfg file:

video_shader_enable = true
video_shader = /opt/retropie/emulators/retroarch/shader/gb-shader.glslp

input_overlay_enable = true
input_overlay = /opt/retropie/emulators/retroarch/overlays/gb.cfg
input_overlay_opacity = 0.70
input_overlay_scale = 1.0

aspect_ratio_index = “22”
custom_viewport_width = “642”
custom_viewport_height = “581”
custom_viewport_x = “638”
custom_viewport_y = “248”

here is the gb-shader.glslp file:

shaders = 5
shader0 = shader-files/dot.glsl
shader1 = shader-files/gb-pass-1.glsl
shader2 = shader-files/gb-pass-2.glsl
shader3 = shader-files/gb-pass-3.glsl
shader4 = shader-files/gb-pass-4.glsl

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

filter_linear0 = false
filter_linear1 = false
filter_linear2 = false
filter_linear3 = false
filter_linear4 = false

textures = COLOR_PALETTE;BACKGROUND
COLOR_PALETTE = resources/palette.png
COLOR_PALETTE_linear = false
BACKGROUND = resources/background.png
BACKGROUND_linear = true

I store my shaders in opt/retropie/emulators/retroarch/shader/
also in opt/retropie/emulators/retroarch/shader/shader-files/

In both those folders are the png files and also in
opt/retropie/emulators/retroarch/shader/resources/

If I just change the shader in the gb cfg file to dot.glsl it works but without the green color. I tried changing the shader option in the emulator itself by pressing hotkey + F1 > options > shaders, but that doesn’t do a thing.

I use a RPI1 model b

Please help me.

Cheers