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

Unified Diff: third_party/webgl/other/get.webgl.org/emit1.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/emit.png ('k') | third_party/webgl/other/get.webgl.org/emit2.glsl » ('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/emit1.glsl
===================================================================
--- third_party/webgl/other/get.webgl.org/emit1.glsl (revision 121077)
+++ third_party/webgl/other/get.webgl.org/emit1.glsl (working copy)
@@ -1,24 +0,0 @@
-
-precision highp float;
-
-uniform sampler2D GLGE_EMIT;
-
-varying vec2 texCoord;
-
-float blurSize=0.007;
-
-
-void main(void){
- vec4 color=vec4(0.0,0.0,0.0,0.0);
- color += texture2D(GLGE_EMIT, vec2(texCoord.x - 4.0*blurSize, texCoord.y)) * 0.05;
- color += texture2D(GLGE_EMIT, vec2(texCoord.x - 3.0*blurSize, texCoord.y)) * 0.09;
- color += texture2D(GLGE_EMIT, vec2(texCoord.x - 2.0*blurSize, texCoord.y)) * 0.12;
- color += texture2D(GLGE_EMIT, vec2(texCoord.x - blurSize, texCoord.y)) * 0.15;
- color += texture2D(GLGE_EMIT, vec2(texCoord.x, texCoord.y)) * 0.16;
- color += texture2D(GLGE_EMIT, vec2(texCoord.x + blurSize, texCoord.y)) * 0.15;
- color += texture2D(GLGE_EMIT, vec2(texCoord.x + 2.0*blurSize, texCoord.y)) * 0.12;
- color += texture2D(GLGE_EMIT, vec2(texCoord.x + 3.0*blurSize, texCoord.y)) * 0.09;
- color += texture2D(GLGE_EMIT, vec2(texCoord.x + 4.0*blurSize, texCoord.y)) * 0.05;
- gl_FragColor = vec4(color.rgb,1.0);
-}
-
« no previous file with comments | « third_party/webgl/other/get.webgl.org/emit.png ('k') | third_party/webgl/other/get.webgl.org/emit2.glsl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698