Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: third_party/webgl/other/get.webgl.org/emit2.glsl

Issue 9360034: Remove everthing except conformance tests in the deps/third_party/webgl (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/webgl/other/get.webgl.org/emit1.glsl ('k') | third_party/webgl/other/get.webgl.org/favicon.ico » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/webgl/other/get.webgl.org/emit2.glsl
===================================================================
--- third_party/webgl/other/get.webgl.org/emit2.glsl (revision 121077)
+++ third_party/webgl/other/get.webgl.org/emit2.glsl (working copy)
@@ -1,26 +0,0 @@
-
-precision highp float;
-
-uniform sampler2D GLGE_PASS0;
-uniform sampler2D GLGE_RENDER;
-
-varying vec2 texCoord;
-
-float blurSize=0.007;
-
-
-
-void main(void){
- vec4 color=vec4(0.0,0.0,0.0,0.0);
- color += texture2D(GLGE_PASS0, vec2(texCoord.x, texCoord.y - 4.0*blurSize)) * 0.05;
- color += texture2D(GLGE_PASS0, vec2(texCoord.x, texCoord.y - 3.0*blurSize)) * 0.09;
- color += texture2D(GLGE_PASS0, vec2(texCoord.x, texCoord.y - 2.0*blurSize)) * 0.12;
- color += texture2D(GLGE_PASS0, vec2(texCoord.x, texCoord.y - blurSize)) * 0.15;
- color += texture2D(GLGE_PASS0, vec2(texCoord.x, texCoord.y)) * 0.16;
- color += texture2D(GLGE_PASS0, vec2(texCoord.x, texCoord.y + blurSize)) * 0.15;
- color += texture2D(GLGE_PASS0, vec2(texCoord.x, texCoord.y + 2.0*blurSize)) * 0.12;
- color += texture2D(GLGE_PASS0, vec2(texCoord.x, texCoord.y + 3.0*blurSize)) * 0.09;
- color += texture2D(GLGE_PASS0, vec2(texCoord.x, texCoord.y + 4.0*blurSize)) * 0.05;
- gl_FragColor = vec4(color.rgb*3.0+texture2D(GLGE_RENDER,texCoord).rgb,1.0);
-}
-
« no previous file with comments | « third_party/webgl/other/get.webgl.org/emit1.glsl ('k') | third_party/webgl/other/get.webgl.org/favicon.ico » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698