added 15- and 18-bit RGB modes

This commit is contained in:
Valerie Wolfe 2024-04-22 22:48:36 -04:00
parent 375ccf3621
commit 605e54a522
3 changed files with 10 additions and 5 deletions

View file

@ -6,6 +6,7 @@ profile.DOTMATRIX=Dot Matrix Game
profile.OBRADINN=Return of the Obra Dinn profile.OBRADINN=Return of the Obra Dinn
profile.PSX=PSX profile.PSX=PSX
profile.REALITY=Project Reality profile.REALITY=Project Reality
profile.SNES=Super Famicom
profile.VR32=VR32 profile.VR32=VR32
option.pixelSize=Downscaling option.pixelSize=Downscaling
@ -26,6 +27,8 @@ value.colorDepth.3=3-bit
value.colorDepth.6=6-bit value.colorDepth.6=6-bit
value.colorDepth.8=8-bit value.colorDepth.8=8-bit
value.colorDepth.12=12-bit value.colorDepth.12=12-bit
value.colorDepth.15=15-bit
value.colorDepth.18=18-bit
value.colorDepth.24=Truecolor value.colorDepth.24=Truecolor
option.monoPalette=Mono Palette option.monoPalette=Mono Palette
value.monoPalette.0=Black & White value.monoPalette.0=Black & White

View file

@ -1,5 +1,5 @@
#define colorDepth 6 // [1 3 6 8 12 24] #define colorDepth 6 // [1 3 6 8 12 15 18 24]
#define monoPalette 0 // [0 1 2] #define monoPalette 0 // [0 1 2]
#if colorDepth == 1 #if colorDepth == 1
@ -7,16 +7,17 @@
#elif colorDepth == 3 #elif colorDepth == 3
vec3 colormax = vec3(2, 2, 2); vec3 colormax = vec3(2, 2, 2);
#elif colorDepth == 6 #elif colorDepth == 6
// 6-bit is 2:2:2
vec3 colormax = vec3(4, 4, 4); vec3 colormax = vec3(4, 4, 4);
#elif colorDepth == 8 #elif colorDepth == 8
// 8-bit is 3:3:2 // 8-bit is 3:3:2
vec3 colormax = vec3(8, 8, 4); vec3 colormax = vec3(8, 8, 4);
#elif colorDepth == 12 #elif colorDepth == 12
// 12-bit is 4:4:4
vec3 colormax = vec3(16, 16, 16); vec3 colormax = vec3(16, 16, 16);
#elif colorDepth == 15
vec3 colormax = vec3(32, 32, 32);
#elif colorDepth == 18
vec3 colormax = vec3(64, 64, 64);
#elif colorDepth == 24 #elif colorDepth == 24
// 24-bit is 8:8:8
vec3 colormax = vec3(256, 256, 256); vec3 colormax = vec3(256, 256, 256);
#endif #endif

View file

@ -8,7 +8,8 @@ profile.DOTMATRIX=pixelSize=4 colorMode=1 colorDepth=1 monoPalette=1 dithering v
profile.OBRADINN=pixelSize=2 colorMode=1 colorDepth=1 monoPalette=0 dithering vWarp=0 !tWarp !hBlur !interlacing profile.OBRADINN=pixelSize=2 colorMode=1 colorDepth=1 monoPalette=0 dithering vWarp=0 !tWarp !hBlur !interlacing
profile.PSX=pixelSize=2 colorMode=1 !dithering colorDepth=24 vWarp=2 tWarp !hBlur interlacing profile.PSX=pixelSize=2 colorMode=1 !dithering colorDepth=24 vWarp=2 tWarp !hBlur interlacing
profile.REALITY=profile.PSX vWarp=0 !tWarp hBlur interlacing profile.REALITY=profile.PSX vWarp=0 !tWarp hBlur interlacing
profile.VR32=pixelSize=8 colorMode=1 colorDepth=1 monoPalette=2 !dithering vWarp=1 !tWarp !hBlur !interlacing profile.SNES=pixelSize=4 colorMode=1 dithering colorDepth=15 vWarp=1 !tWarp !hBlur interlacing
profile.VR32=pixelSize=8 colorMode=1 !dithering colorDepth=1 monoPalette=2 vWarp=1 !tWarp !hBlur !interlacing
# -- SCREENS -- # -- SCREENS --
# default # default