]> de.git.xonotic.org Git - xonotic/xonotic-nexcompat.pk3dir.git/blob - scripts/racetrack.shader
cleanup: move env/ models/ scripts/ textures/ to compat (step 1: copy)
[xonotic/xonotic-nexcompat.pk3dir.git] / scripts / racetrack.shader
1 race/cliff
2 {
3         qer_editorimage textures/race/cliff02.tga
4         
5         q3map_nonplanar
6         q3map_shadeangle 120
7         q3map_globalTexture
8         q3map_lightmapsampleoffset 10
9         q3map_alphaMod dotproduct2 ( 0 0 0.80 )
10         {
11                 map textures/race/cliff02.tga   // Primary
12                 tcmod scale 2 2
13                 rgbGen identity
14         }
15         {
16                 map textures/race/ground.tga    // Secondary
17                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
18                 tcmod scale 2 2
19                 rgbGen identity
20                 alphaGen vertex
21         }
22         {
23                 map $lightmap
24                 blendFunc GL_DST_COLOR GL_ZERO
25                 rgbGen identity
26         }
27 }
28
29 textures/race/track02
30 {
31  qer_editorimage textures/race/track02.tga
32                 {
33                 map $lightmap
34                 rgbGen identity
35             }
36
37  {
38         map textures/race/track02.tga
39  }
40 }
41
42
43 textures/race/tunel01
44 {
45  qer_editorimage textures/race/tunel01.tga
46                 {
47                 map $lightmap
48                 rgbGen identity
49             }
50  {
51         map textures/race/tunel01.tga
52  }
53 }
54
55 race/clouds1
56 {
57 qer_editorimage textures/race/cloud1.tga
58  {
59         map textures/race/cloud1.tga
60         tcMod scroll 0.03 0
61         blendfunc blend
62  }
63 }
64 race/clouds2
65 {
66 qer_editorimage textures/race/cloud2.tga
67  {
68         map textures/race/cloud2.tga
69         tcMod scroll 0.021 0
70         blendfunc blend
71  }
72 }
73 race/clouds3
74 {
75 qer_editorimage textures/race/cloud3.tga
76  {
77         map textures/race/cloud3.tga
78         tcMod scroll 0.011 0
79         blendfunc blend
80  }
81 }
82
83 race/arrow
84 {
85 qer_editorimage textures/race/arrow.tga
86  {
87         map textures/race/arrow.tga
88         tcMod scroll 0 2
89         blendfunc add
90  }
91 }
92
93 textures/race/nicesky
94 {
95         qer_editorimage env/med-troubadour-gray/med-troubadour-gray_up.tga
96         surfaceparm noimpact
97         surfaceparm nolightmap
98         surfaceparm sky
99         surfaceparm nomarks
100         q3map_sunExt .5 .5 .7 100 0 86 3 16
101         q3map_skylight 150 3
102         skyparms env/med-troubadour-gray/med-troubadour-gray - -
103 }