|
@@ -22,5 +22,13 @@ void main()
|
22
|
22
|
color += texture2D(desktop, upsideDownUV - (off2 / screenSize)) * 0.09447039785044732;
|
23
|
23
|
color += texture2D(desktop, upsideDownUV + (off3 / screenSize)) * 0.010381362401148057;
|
24
|
24
|
color += texture2D(desktop, upsideDownUV - (off3 / screenSize)) * 0.010381362401148057;
|
25
|
|
- gl_FragColor = (texture2D(texture, uvCoord) * color);
|
|
25
|
+ vec4 tcolor = vec4(0.0);
|
|
26
|
+ tcolor += texture2D(texture, uvCoord) * 0.1964825501511404;
|
|
27
|
+ tcolor += texture2D(texture, uvCoord + (off1 / screenSize)) * 0.2969069646728344;
|
|
28
|
+ tcolor += texture2D(texture, uvCoord - (off1 / screenSize)) * 0.2969069646728344;
|
|
29
|
+ tcolor += texture2D(texture, uvCoord + (off2 / screenSize)) * 0.09447039785044732;
|
|
30
|
+ tcolor += texture2D(texture, uvCoord - (off2 / screenSize)) * 0.09447039785044732;
|
|
31
|
+ tcolor += texture2D(texture, uvCoord + (off3 / screenSize)) * 0.010381362401148057;
|
|
32
|
+ tcolor += texture2D(texture, uvCoord - (off3 / screenSize)) * 0.010381362401148057;
|
|
33
|
+ gl_FragColor = (tcolor * color);
|
26
|
34
|
}
|