Skip to content

Commit ab3b427

Browse files
committed
QL shaders
Quick fix for shader confict issues in QL until shader loading rules are adjusted
1 parent 3f2d394 commit ab3b427

31 files changed

+29050
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
textures/base_button/shootme2
2+
{
3+
qer_editorimage textures/base_button/metal3_3_shootme.tga
4+
q3map_lightimage textures/base_button/shootme_glow.tga
5+
q3map_surfacelight 1000
6+
{
7+
map $lightmap
8+
rgbGen identity
9+
}
10+
{
11+
map textures/base_support/metal3_3.tga
12+
blendfunc filter
13+
rgbGen identity
14+
}
15+
{
16+
map textures/base_button/shootme_glow.tga
17+
rgbGen wave sin 0.5 1.0 0 .3
18+
blendfunc add
19+
}
20+
}

assets/scripts/base_door_ql.shader

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
textures/base_door/shinymetaldoor
2+
{
3+
{
4+
map textures/base_wall/chrome_env.tga
5+
tcGen environment
6+
tcmod scale .25 .25
7+
rgbGen identity
8+
}
9+
{
10+
map textures/base_door/shinymetaldoor.tga
11+
blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
12+
rgbGen identity
13+
}
14+
{
15+
map textures/base_door/quake3sign.tga
16+
blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
17+
rgbGen identity
18+
}
19+
{
20+
map $lightmap
21+
rgbgen identity
22+
blendfunc filter
23+
}
24+
}
25+
26+
textures/base_door/shinymetaldoor_outside
27+
{
28+
{
29+
map textures/base_wall/chrome_env.tga
30+
tcGen environment
31+
tcmod scale .25 .25
32+
rgbGen identity
33+
}
34+
{
35+
map textures/base_door/shinymetaldoor_outside.tga
36+
blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
37+
rgbGen identity
38+
}
39+
{
40+
map textures/base_door/quake3sign_outside.tga
41+
blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
42+
rgbGen identity
43+
}
44+
{
45+
map $lightmap
46+
rgbgen identity
47+
blendfunc filter
48+
}
49+
}
50+
51+
textures/base_door/shinymetaldoor_outside3a2
52+
{
53+
{
54+
map textures/base_wall/chrome_env.tga
55+
tcGen environment
56+
tcmod scale .25 .25
57+
rgbGen identity
58+
}
59+
{
60+
map textures/base_door/shinymetaldoor_outside3a2.tga
61+
blendfunc blend
62+
rgbGen identity
63+
}
64+
{
65+
map $lightmap
66+
rgbgen identity
67+
blendfunc filter
68+
}
69+
{
70+
map textures/base_door/shinymetaldoor_outside3glow.tga
71+
blendfunc add
72+
rgbGen wave sin .9 .1 0 5
73+
}
74+
}
75+
76+
textures/base_door/kcdm18_combinedshiny
77+
{
78+
qer_editorimage textures/base_door/kcdm18_combined.tga
79+
{
80+
map $lightmap
81+
rgbgen identity
82+
}
83+
84+
{
85+
map textures/base_door/kcdm18_combined.tga
86+
blendfunc GL_DST_COLOR GL_SRC_ALPHA
87+
rgbGen identity
88+
alphaGen lightingSpecular
89+
}
90+
91+
92+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
textures/base_floor/concfloor_rain
2+
{
3+
tessSize 32
4+
deformVertexes normal 1 15
5+
{
6+
map textures/base_floor/concfloor_rain.tga
7+
rgbGen identity
8+
}
9+
{
10+
map textures/liquids/pj_e3_reflection2b.tga
11+
Blendfunc add
12+
tcgen environment
13+
rgbgen wave sin .3 0 0 0
14+
tcmod scale 2 2
15+
tcMod scroll .5 .5
16+
}
17+
{
18+
map $lightmap
19+
blendfunc filter
20+
rgbGen identity
21+
}
22+
}

0 commit comments

Comments
 (0)