diff --git a/acidmetal.txt b/acidmetal.txt index 7f479ca274..8500f75dd4 100644 --- a/acidmetal.txt +++ b/acidmetal.txt @@ -6,11 +6,13 @@ void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) float red = 0.0; float blue = 0.0; - if (c0.r > 0.25 && c0.b > 0.25) + if (c0.r > 0.15 && c0.b > 0.15) { - blue = c0.b; - red = c0.r; + blue = 0.5; + red = 0.5; } + + float green = max(c0.r + c0.b, c0.g); - ocol0 = float4(red, c0.g, blue, 1.0); + ocol0 = float4(red, green, blue, 1.0); } \ No newline at end of file diff --git a/brighten.txt b/brighten.txt new file mode 100644 index 0000000000..ad1ae67572 --- /dev/null +++ b/brighten.txt @@ -0,0 +1,8 @@ +uniform samplerRECT samp0 : register(s0); + +void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) +{ + float4 c0 = texRECT(samp0, uv0).rgba; + c0 += c0 * 2; + ocol0 = float4(c0.r, c0.g, c0.b, c0.a); +} \ No newline at end of file diff --git a/chrismas.txt b/chrismas.txt index 6de668b2db..1fa852b8a2 100644 --- a/chrismas.txt +++ b/chrismas.txt @@ -6,13 +6,14 @@ void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) float red = 0.0; float green = 0.0; - if (c0.r < 0.50 || c0.b > 0.5) + if (c0.r < 0.35 || c0.b > 0.35) { green = c0.g + (c0.b / 2); } else { - red = c0.r + (c0.b / 2); + //red = 1 - c0.r + (c0.b / 2); + red = c0.r + 0.4; } ocol0 = float4(red, green, 0.0, 1.0); diff --git a/cool1.txt b/cool1.txt index 66de9c4d38..75780bfcbf 100644 --- a/cool1.txt +++ b/cool1.txt @@ -9,13 +9,13 @@ void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) if (c0.r < 0.50 || c0.b > 0.5) { - blue = c0.r + (c0.b / 2); - red = c0.g + (c0.b / 2); + blue = c0.r; + red = c0.g; } else { - blue = c0.r + (c0.b / 2); - green = c0.r + (c0.b / 2); + blue = c0.r; + green = c0.r; } ocol0 = float4(red, green, blue, 1.0); diff --git a/invertedoutline.txt b/invertedoutline.txt index 72e835ac41..4131f6a299 100644 --- a/invertedoutline.txt +++ b/invertedoutline.txt @@ -3,15 +3,7 @@ uniform samplerRECT samp0 : register(s0); void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) { float4 c0 = texRECT(samp0, uv0).rgba; - float4 c1 = texRECT(samp0, uv0 + float2(3,3)).rgba; - float red = c0.r; - float green = c0.g; - float blue = c0.b; - float alpha = c0.a; - - red = c0.r - c1.r; - green = c0.g - c1.g; - blue = c0.b - c1.b; + float4 c1 = texRECT(samp0, uv0 + float2(5,5)).rgba; - ocol0 = float4(red, green, blue, alpha); + ocol0 = c0 - c1; } \ No newline at end of file diff --git a/spookey1.txt b/spookey1.txt index f0cde83b55..cbfe6b0558 100644 --- a/spookey1.txt +++ b/spookey1.txt @@ -6,14 +6,14 @@ void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) float red = 0.0; float blue = 0.0; - if (c0.r < 0.50 || c0.b > 0.5) + if (c0.r < 0.35 || c0.b > 0.5) { - red = c0.g + (c0.b / 2); + red = c0.g + c0.b; } else { - red = c0.g + (c0.b / 2); - blue = c0.r + (c0.b / 2); + red = c0.g + c0.b; + blue = c0.r + c0.b; } ocol0 = float4(red, 0.0, blue, 1.0); diff --git a/spookey2.txt b/spookey2.txt index 747d236427..58919ae15d 100644 --- a/spookey2.txt +++ b/spookey2.txt @@ -7,15 +7,15 @@ void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) float green = 0.0; float blue = 0.0; - if (c0.r < 0.50 || c0.b > 0.5) + if (c0.r < 0.35 || c0.b > 0.5) { - red = c0.g + (c0.b / 2); + red = c0.g + c0.b; } else { - red = c0.g + (c0.b / 2); - blue = c0.r + (c0.b / 2); - green = c0.r + (c0.b / 2); + red = c0.g + c0.b; + blue = c0.r + c0.b; + green = c0.r + c0.b; } ocol0 = float4(red, green, blue, 1.0); diff --git a/toxic.txt b/toxic.txt index 81205ed0f8..aa38d9477e 100644 --- a/toxic.txt +++ b/toxic.txt @@ -7,15 +7,15 @@ void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) float green = 0.0; float blue = 0.0; - if (c0.r < 0.50 || c0.b > 0.5) + if (c0.r < 0.3 || c0.b > 0.5) { - blue = c0.r + (c0.b / 2); - red = c0.g + (c0.b / 2); + blue = c0.r + c0.b; + red = c0.g + c0.b / 2; } else { - red = c0.g + (c0.b / 2); - green = c0.r + (c0.b / 2); + red = c0.g + c0.b; + green = c0.r + c0.b; } ocol0 = float4(red, green, blue, 1.0);