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

Side by Side Diff: native_client_sdk/src/examples/api/graphics_3d/fragment_shader_es2.frag

Issue 23838002: [NaCl SDK] Simplify graphics3d example. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 precision mediump float;
2 varying vec3 v_color;
3 varying vec2 v_texCoord;
4 uniform sampler2D s_texture;
5 void main()
6 {
7 gl_FragColor = texture2D( s_texture, vec2(v_texCoord.x,1.0 - v_texCoord. y) ) + vec4(v_color.x,v_color.y,v_color.z,1);
8 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698