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

Revision 2196, 868 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
14
15#define NITERATION 5
16
17struct PS_INPUT
18{
19float3 dir     : TEXCOORD0;
20};
21
22sampler cauSamp: register(s0);
23
24///////////////////////////////////////////////////////////////////////////////
25// Pixelshader
26// Profile: 3x0
27
28
29float4 main(PS_INPUT input): COLOR0
30{
31//return 0.1;
32 return  texCUBE(cauSamp, input.dir);
33}
34
35///////////////////////////////////////////////////////////////////////////////
Note: See TracBrowser for help on using the repository browser.