Compare commits
3 commits
6fc995e5cb
...
4ad3836b84
Author | SHA1 | Date | |
---|---|---|---|
4ad3836b84 | |||
bed3bdc89e | |||
5504d1588d |
4 changed files with 5 additions and 3 deletions
|
@ -39,7 +39,7 @@ void main() {
|
||||||
|
|
||||||
// physical post-processing effects
|
// physical post-processing effects
|
||||||
#ifdef aberration
|
#ifdef aberration
|
||||||
color.rb = aberrate().rb;
|
color.rb = (color.rb + aberrate().rb) / 2;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ profile.DEFAULT=Default
|
||||||
profile.AEON=Aeon Upstream
|
profile.AEON=Aeon Upstream
|
||||||
profile.DOS=DOS
|
profile.DOS=DOS
|
||||||
profile.DOTMATRIX=Dot Matrix Game
|
profile.DOTMATRIX=Dot Matrix Game
|
||||||
|
profile.EIGHTBIT=8-bit
|
||||||
profile.OBRADINN=Obra Dinn
|
profile.OBRADINN=Obra Dinn
|
||||||
profile.PSX=PSX
|
profile.PSX=PSX
|
||||||
profile.REALITY=Project Reality
|
profile.REALITY=Project Reality
|
||||||
|
|
|
@ -3,8 +3,8 @@ vec2 caOffset = vec2(2 * pixelSize / viewWidth, 0);
|
||||||
|
|
||||||
vec3 aberrate() {
|
vec3 aberrate() {
|
||||||
vec2 offset = caOffset * cos(texcoord * 3.14);
|
vec2 offset = caOffset * cos(texcoord * 3.14);
|
||||||
float red = texture2D(gcolor, texcoord - offset).r;
|
float red = texture2D(gcolor, texcoord + offset).r;
|
||||||
float blue = texture2D(gcolor, texcoord + offset).b;
|
float blue = texture2D(gcolor, texcoord - offset).b;
|
||||||
|
|
||||||
return vec3(red, 0, blue);
|
return vec3(red, 0, blue);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@ profile.DEFAULT=pixelSize=2 colorMode=0 dithering hueBits=2 satBits=2 valBits=2
|
||||||
profile.AEON=pixelSize=1 colorMode=0 dithering hueBits=3 satBits=2 valBits=2 vWarp=0 !tWarp !hBlur !interlacing
|
profile.AEON=pixelSize=1 colorMode=0 dithering hueBits=3 satBits=2 valBits=2 vWarp=0 !tWarp !hBlur !interlacing
|
||||||
profile.DOS=pixelSize=4 colorMode=1 dithering colorDepth=3 vWarp=1 !tWarp !hBlur !interlacing
|
profile.DOS=pixelSize=4 colorMode=1 dithering colorDepth=3 vWarp=1 !tWarp !hBlur !interlacing
|
||||||
profile.DOTMATRIX=pixelSize=4 colorMode=1 colorDepth=1 monoPalette=1 dithering vWarp=1 !tWarp !hBlur !interlacing
|
profile.DOTMATRIX=pixelSize=4 colorMode=1 colorDepth=1 monoPalette=1 dithering vWarp=1 !tWarp !hBlur !interlacing
|
||||||
|
profile.EIGHTBIT=pixelSize=4 colorMode=1 dithering colorDepth=8 vWarp=0 !tWarp !hBlur !interlacing
|
||||||
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=pixelSize=2 colorMode=1 colorDepth=15 !dithering vWarp=0 !tWarp hBlur interlacing
|
profile.REALITY=pixelSize=2 colorMode=1 colorDepth=15 !dithering vWarp=0 !tWarp hBlur interlacing
|
||||||
|
|
Loading…
Reference in a new issue