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 | d3d9
|
---|
15 | {
|
---|
16 | hlsl_vertshader
|
---|
17 | {
|
---|
18 | code_variant_array
|
---|
19 | {
|
---|
20 | profile "2x0"
|
---|
21 | entry_point "main"
|
---|
22 | code "levelutil/shader/prog/d3d9_hlsl/"
|
---|
23 | & "gtp_envmapSimple_d3d9_hlsl_vs1x1.s3d_shadercode_run"
|
---|
24 | }
|
---|
25 | tracking
|
---|
26 | {
|
---|
27 | codevar "matProj"
|
---|
28 | slot 0
|
---|
29 | chan "proj"
|
---|
30 | trans "identity"
|
---|
31 | }
|
---|
32 | {
|
---|
33 | codevar "matProjView"
|
---|
34 | slot 0
|
---|
35 | chan "projview"
|
---|
36 | trans "identity"
|
---|
37 | }
|
---|
38 | {
|
---|
39 | codevar "matView"
|
---|
40 | slot 0
|
---|
41 | chan "view"
|
---|
42 | trans "identity"
|
---|
43 | }
|
---|
44 | {
|
---|
45 | codevar "matViewInvTrans"
|
---|
46 | slot 0
|
---|
47 | chan "view"
|
---|
48 | trans "invtransp"
|
---|
49 | }
|
---|
50 |
|
---|
51 | param_array
|
---|
52 | {
|
---|
53 | src_progvar "lastCenter"
|
---|
54 | dest_codevar "last_Center"
|
---|
55 | type "float4"
|
---|
56 | }
|
---|
57 | {
|
---|
58 | src_progvar "worldMat"
|
---|
59 | dest_codevar "worldMat"
|
---|
60 | type "float4x4"
|
---|
61 | }
|
---|
62 | {
|
---|
63 | src_progvar "worldMatIT"
|
---|
64 | dest_codevar "worldMatIT"
|
---|
65 | type "float4x4"
|
---|
66 | }
|
---|
67 |
|
---|
68 |
|
---|
69 |
|
---|
70 | }
|
---|
71 |
|
---|
72 | hlsl_pixshader
|
---|
73 | {
|
---|
74 | code_variant_array
|
---|
75 | {
|
---|
76 | profile "3x0"
|
---|
77 | entry_point "main"
|
---|
78 | code "levelutil/shader/prog/d3d9_hlsl/"
|
---|
79 | & "gtp_envmapSimple_d3d9_hlsl_ps1x1.s3d_shadercode_run"
|
---|
80 | }
|
---|
81 | }
|
---|
82 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.