source: GTP/trunk/App/Demos/Illum/Shark3D/version164x12u/IllumDemo/src/res/levelutil/shader/prog/ogl_glsl/bloom_combine_ogl_glsl_fs1x0.s3d_shadercode @ 2196

Revision 2196, 776 bytes checked in by szirmay, 17 years ago (diff)
Line 
1///////////////////////////////////////////////////////////////////////////////
2//
3//      ##  ######
4//       ######  ###
5//  ## ###############        Shark 3D Engine (www.shark3d.com)
6//   ########## # # #
7//    ########                Copyright (c) 1996-2006 Spinor GmbH.
8//   ######### # # #          All rights reserved.
9//  ##   ##########
10//      ##
11//
12///////////////////////////////////////////////////////////////////////////////
13
14uniform sampler2D tex0;
15uniform sampler2D tex1;
16
17void main(void)
18{
19    vec4 texCol0 = texture2D(tex0, gl_TexCoord[0].xy);
20    vec4 texCol1 = texture2D(tex1, gl_TexCoord[0].xy);
21   
22    gl_FragColor = texCol0 + 2.0 * texCol1;
23}
24
25///////////////////////////////////////////////////////////////////////////////
Note: See TracBrowser for help on using the repository browser.