Glsl version of sgb shader doesn't display correctly

Whenever I load sgb.glslp, the game appears extremely zoomed in, like in the picture below. Changing the aspect ratio only stretched this image out. The cg shader works fine.

I can change the shader scale to “don’t care,” and now the image looks like this. (And changing the aspect ratio only affects the black bars.)

I’d like to use the shader on a raspberry pi connected to a crt, so id be open to suggestions if there’s a better way of displaying sbg borders.

This has been fixed. The problem was that imgborder-sgb.glsl was a broken Cg->GLSL auto-converted shader that didn’t have the necessary shader parameter uniforms implemented. It was replaced by a new conversion from the Slang GLSL version which has all the parameters implemented.

2 Likes