| Index: visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/fragment_shader_es2.frag
|
| diff --git a/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/fragment_shader_es2.frag b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/fragment_shader_es2.frag
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..247c559f8c8d3f514bd82050a9f4b1d0d2a6ad7f
|
| --- /dev/null
|
| +++ b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/fragment_shader_es2.frag
|
| @@ -0,0 +1,8 @@
|
| +precision mediump float;
|
| +varying vec3 v_color;
|
| +varying vec2 v_texCoord;
|
| +uniform sampler2D s_texture;
|
| +void main()
|
| +{
|
| + 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);
|
| +}
|
|
|