source: GTP/trunk/App/Demos/Illum/Shark3D/version164x12u/IllumDemo/bin/res/levelutil/shader/prog/ogl_glsl/bloom_bright_ogl_glsl_vs1x0.s3d_shadercode_run @ 2196

Revision 2196, 802 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
14void main(void)
15{
16    gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
17
18    vec4 posView = gl_ModelViewMatrix * gl_Vertex;
19    gl_FogFragCoord = posView.z / posView.w;
20
21    gl_FrontColor = gl_Color;
22    gl_TexCoord[0].xy = gl_MultiTexCoord0.xy;
23}
24
25///////////////////////////////////////////////////////////////////////////////
Note: See TracBrowser for help on using the repository browser.