Restored gameboy shader Blending Mode default to 0

This variable determines how pixels are blended and affects the appearance of the pixel grid. The original Cg gameboy shader defaulted to Blending Mode 0. While a matter of preference, I find Blending Mode 0 looks better across a wider range of resolutions (especially handheld, lower resolution devices) and doesn't wash out the image like Blending Mode 1.
This commit is contained in:
Matt Akins 2024-04-04 16:30:35 -07:00
parent 1c0a4ccbd2
commit f7cf08900e

View file

@ -21,7 +21,7 @@ layout(std140, set = 0, binding = 0) uniform UBO
// 0 - only the space between dots is blending
// 1 - all texels are blended
/* TODO/FIXME - When set to zero, frame will be a solid green color */
#pragma parameter blending_mode "Blending Mode" 1.0 0.0 1.0 1.0
#pragma parameter blending_mode "Blending Mode" 0.0 0.0 1.0 1.0
// The amount of alpha swapped between neighboring texels
#pragma parameter adjacent_texel_alpha_blending "Neighbor Blending" 0.1755 0.0 1.0 0.05