]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
Add common.shader & textures + radiant textures. We no longer need common-spog.pk3
authorJakob MG <jakob_mg@hotmail.com>
Thu, 29 Apr 2010 02:51:33 +0000 (04:51 +0200)
committerJakob MG <jakob_mg@hotmail.com>
Thu, 29 Apr 2010 02:51:33 +0000 (04:51 +0200)
25 files changed:
scripts/common.shader [new file with mode: 0644]
scripts/shaderlist.txt
textures/common/antiportal.tga [new file with mode: 0644]
textures/common/camera.tga [new file with mode: 0644]
textures/common/caulk.tga [new file with mode: 0644]
textures/common/clip.tga [new file with mode: 0644]
textures/common/donotenter.tga [new file with mode: 0644]
textures/common/forcecaulk.tga [new file with mode: 0644]
textures/common/full_clip.tga [new file with mode: 0644]
textures/common/hint.tga [new file with mode: 0644]
textures/common/invisible.tga [new file with mode: 0644]
textures/common/lightgrid.tga [new file with mode: 0644]
textures/common/nodraw.tga [new file with mode: 0644]
textures/common/nodrawnonsolid.tga [new file with mode: 0644]
textures/common/nodrop.tga [new file with mode: 0644]
textures/common/nolightmap.tga [new file with mode: 0644]
textures/common/origin.tga [new file with mode: 0644]
textures/common/skip.tga [new file with mode: 0644]
textures/common/terrain.tga [new file with mode: 0644]
textures/common/trigger.tga [new file with mode: 0644]
textures/common/warpzone.tga [new file with mode: 0644]
textures/common/weapclip.tga [new file with mode: 0644]
textures/common/white.tga [new file with mode: 0644]
textures/radiant/notex.tga [new file with mode: 0644]
textures/radiant/shadernotex.tga [new file with mode: 0644]

diff --git a/scripts/common.shader b/scripts/common.shader
new file mode 100644 (file)
index 0000000..80632b8
--- /dev/null
@@ -0,0 +1,222 @@
+textures/common/antiportal\r
+{\r
+       qer_trans 0.30\r
+       qer_nocarve\r
+       surfaceparm nodraw\r
+       surfaceparm nonsolid\r
+       surfaceparm structural\r
+       surfaceparm trans\r
+       surfaceparm antiportal\r
+}\r
+\r
+textures/common/caulk\r
+{\r
+       surfaceparm nodraw\r
+       surfaceparm nolightmap\r
+       surfaceparm nomarks\r
+}\r
+\r
+textures/common/forcecaulk\r
+{\r
+       surfaceparm nodraw\r
+       surfaceparm nolightmap\r
+       surfaceparm nomarks\r
+       surfaceparm structural\r
+}\r
+\r
+textures/common/clip\r
+{\r
+       qer_trans 0.40\r
+       surfaceparm nodraw\r
+       surfaceparm nolightmap\r
+       surfaceparm nonsolid\r
+       surfaceparm trans\r
+       surfaceparm nomarks\r
+       surfaceparm noimpact\r
+       surfaceparm playerclip\r
+}\r
+\r
+textures/common/donotenter\r
+{\r
+       qer_trans 0.50\r
+       surfaceparm nodraw\r
+       surfaceparm nonsolid\r
+       surfaceparm trans\r
+       surfaceparm nomarks\r
+       surfaceparm donotenter\r
+}\r
+\r
+textures/common/full_clip // silly shader, use weapclip instead\r
+{\r
+       qer_trans 0.40\r
+       surfaceparm nodraw\r
+       surfaceparm playerclip\r
+}\r
+\r
+textures/common/hint // should NOT use surfaceparm hint.. strange but true\r
+{\r
+       qer_nocarve\r
+       qer_trans 0.30\r
+       surfaceparm nodraw\r
+       surfaceparm nonsolid\r
+       surfaceparm structural\r
+       surfaceparm trans\r
+       surfaceparm noimpact\r
+       surfaceparm hint        // ydnar: yes it should.\r
+}\r
+\r
+textures/common/invisible // solid, transparent polygons, casts shadows\r
+{\r
+       surfaceparm nolightmap\r
+        {\r
+               map textures/common/invisible.tga\r
+               alphaFunc GE128\r
+               depthWrite\r
+               rgbGen vertex\r
+       }       \r
+}\r
+\r
+textures/common/nodraw\r
+{\r
+       surfaceparm nodraw\r
+       surfaceparm nolightmap\r
+       surfaceparm nonsolid\r
+       surfaceparm trans\r
+       surfaceparm nomarks\r
+}\r
+\r
+textures/common/nodrawnonsolid\r
+{\r
+       surfaceparm nonsolid\r
+       surfaceparm nolightmap\r
+       surfaceparm nodraw\r
+}\r
+\r
+textures/common/nodrop\r
+{\r
+       qer_nocarve\r
+       qer_trans 0.5\r
+       surfaceparm nodraw\r
+       surfaceparm nolightmap\r
+       surfaceparm nonsolid\r
+       surfaceparm trans\r
+       surfaceparm nomarks\r
+       surfaceparm nodrop\r
+}\r
+\r
+\r
+textures/common/noimpact\r
+{\r
+       qer_editorimage textures/common/nolightmap.tga\r
+       qer_nocarve\r
+       qer_trans 0.5\r
+       surfaceparm nodraw\r
+       surfaceparm nolightmap\r
+       surfaceparm trans\r
+       surfaceparm nomarks\r
+       surfaceparm noimpact\r
+}\r
+\r
+textures/common/nolightmap\r
+{\r
+       surfaceparm nolightmap\r
+}\r
+\r
+textures/common/origin\r
+{\r
+       qer_nocarve\r
+       surfaceparm nodraw\r
+       surfaceparm nolightmap\r
+       surfaceparm nonsolid\r
+       surfaceparm trans\r
+       surfaceparm origin\r
+}\r
+\r
+textures/common/skip\r
+{\r
+       qer_nocarve\r
+       qer_trans 0.30\r
+       surfaceparm nodraw\r
+       surfaceparm nonsolid\r
+       surfaceparm skip\r
+       surfaceparm structural\r
+       surfaceparm trans\r
+}\r
+\r
+textures/common/terrain\r
+{\r
+       q3map_terrain\r
+       surfaceparm nodraw\r
+       surfaceparm nolightmap\r
+       surfaceparm nomarks\r
+}\r
+\r
+textures/common/terrain2\r
+{\r
+       q3map_terrain\r
+       qer_editorimage textures/common/terrain.tga\r
+       surfaceparm dust\r
+       surfaceparm nodraw\r
+       surfaceparm nomarks\r
+       surfaceparm nolightmap\r
+}\r
+\r
+textures/common/trigger\r
+{\r
+       qer_trans 0.50\r
+       qer_nocarve\r
+       surfaceparm nodraw\r
+}\r
+\r
+textures/common/weapclip\r
+{\r
+       qer_trans 0.40\r
+       surfaceparm nodraw\r
+       surfaceparm nolightmap\r
+       surfaceparm trans\r
+       surfaceparm nomarks\r
+}\r
+\r
+//\r
+// ydnar q3map lightgrid bounds\r
+//\r
+// the min/max bounds of brushes with this shader in a map\r
+// will define the bounds of the map's lightgrid (model lighting)\r
+// note: make it as small as possible around player space\r
+// to minimize bsp size and compile time\r
+//\r
+\r
+textures/common/lightgrid\r
+{\r
+       qer_trans 0.5\r
+       surfaceparm nodraw\r
+       surfaceparm nolightmap\r
+       surfaceparm nonsolid\r
+       surfaceparm detail\r
+       surfaceparm nomarks\r
+       surfaceparm trans\r
+       surfaceparm lightgrid\r
+}\r
+\r
+textures/common/warpzone\r
+{\r
+       surfaceparm nolightmap\r
+       // surfaceparm nonsolid // no, it must be solid like trigger\r
+       surfaceparm trans\r
+       surfaceparm nomarks\r
+       {\r
+               map textures/common/mirror1.tga // fully transparent\r
+               blendfunc blend\r
+       }\r
+       dp_camera\r
+       dp_refract 1 1 1 1 // makes the camera render like a refraction\r
+}\r
+\r
+textures/common/camera\r
+{\r
+       {\r
+               map textures/common/mirror1.tga // fully transparent\r
+               blendfunc blend\r
+       }\r
+       dp_camera\r
+}\r
index 150720b04829dd798dc595f8b2246a9bdfde77bd..20aec31d478e3bf374ebbfee928cc759f8c2f5d3 100644 (file)
@@ -1,4 +1,5 @@
-exosystem
-exx
-trak5x
+common\r
+exosystem\r
+exx\r
+trak5x\r
 trak4x
\ No newline at end of file
diff --git a/textures/common/antiportal.tga b/textures/common/antiportal.tga
new file mode 100644 (file)
index 0000000..8a90743
Binary files /dev/null and b/textures/common/antiportal.tga differ
diff --git a/textures/common/camera.tga b/textures/common/camera.tga
new file mode 100644 (file)
index 0000000..73077b3
Binary files /dev/null and b/textures/common/camera.tga differ
diff --git a/textures/common/caulk.tga b/textures/common/caulk.tga
new file mode 100644 (file)
index 0000000..6293d3d
Binary files /dev/null and b/textures/common/caulk.tga differ
diff --git a/textures/common/clip.tga b/textures/common/clip.tga
new file mode 100644 (file)
index 0000000..947cfce
Binary files /dev/null and b/textures/common/clip.tga differ
diff --git a/textures/common/donotenter.tga b/textures/common/donotenter.tga
new file mode 100644 (file)
index 0000000..8f3ddc4
Binary files /dev/null and b/textures/common/donotenter.tga differ
diff --git a/textures/common/forcecaulk.tga b/textures/common/forcecaulk.tga
new file mode 100644 (file)
index 0000000..50709f8
Binary files /dev/null and b/textures/common/forcecaulk.tga differ
diff --git a/textures/common/full_clip.tga b/textures/common/full_clip.tga
new file mode 100644 (file)
index 0000000..22591e8
Binary files /dev/null and b/textures/common/full_clip.tga differ
diff --git a/textures/common/hint.tga b/textures/common/hint.tga
new file mode 100644 (file)
index 0000000..ae760e1
Binary files /dev/null and b/textures/common/hint.tga differ
diff --git a/textures/common/invisible.tga b/textures/common/invisible.tga
new file mode 100644 (file)
index 0000000..5e28f19
Binary files /dev/null and b/textures/common/invisible.tga differ
diff --git a/textures/common/lightgrid.tga b/textures/common/lightgrid.tga
new file mode 100644 (file)
index 0000000..976216e
Binary files /dev/null and b/textures/common/lightgrid.tga differ
diff --git a/textures/common/nodraw.tga b/textures/common/nodraw.tga
new file mode 100644 (file)
index 0000000..c7393ed
Binary files /dev/null and b/textures/common/nodraw.tga differ
diff --git a/textures/common/nodrawnonsolid.tga b/textures/common/nodrawnonsolid.tga
new file mode 100644 (file)
index 0000000..94e5493
Binary files /dev/null and b/textures/common/nodrawnonsolid.tga differ
diff --git a/textures/common/nodrop.tga b/textures/common/nodrop.tga
new file mode 100644 (file)
index 0000000..2b202b6
Binary files /dev/null and b/textures/common/nodrop.tga differ
diff --git a/textures/common/nolightmap.tga b/textures/common/nolightmap.tga
new file mode 100644 (file)
index 0000000..4f4a59d
Binary files /dev/null and b/textures/common/nolightmap.tga differ
diff --git a/textures/common/origin.tga b/textures/common/origin.tga
new file mode 100644 (file)
index 0000000..2f54462
Binary files /dev/null and b/textures/common/origin.tga differ
diff --git a/textures/common/skip.tga b/textures/common/skip.tga
new file mode 100644 (file)
index 0000000..703a39f
Binary files /dev/null and b/textures/common/skip.tga differ
diff --git a/textures/common/terrain.tga b/textures/common/terrain.tga
new file mode 100644 (file)
index 0000000..16a2482
Binary files /dev/null and b/textures/common/terrain.tga differ
diff --git a/textures/common/trigger.tga b/textures/common/trigger.tga
new file mode 100644 (file)
index 0000000..1879a5e
Binary files /dev/null and b/textures/common/trigger.tga differ
diff --git a/textures/common/warpzone.tga b/textures/common/warpzone.tga
new file mode 100644 (file)
index 0000000..8ec7774
Binary files /dev/null and b/textures/common/warpzone.tga differ
diff --git a/textures/common/weapclip.tga b/textures/common/weapclip.tga
new file mode 100644 (file)
index 0000000..97579e5
Binary files /dev/null and b/textures/common/weapclip.tga differ
diff --git a/textures/common/white.tga b/textures/common/white.tga
new file mode 100644 (file)
index 0000000..fa786f2
Binary files /dev/null and b/textures/common/white.tga differ
diff --git a/textures/radiant/notex.tga b/textures/radiant/notex.tga
new file mode 100644 (file)
index 0000000..d0781f7
Binary files /dev/null and b/textures/radiant/notex.tga differ
diff --git a/textures/radiant/shadernotex.tga b/textures/radiant/shadernotex.tga
new file mode 100644 (file)
index 0000000..477fd86
Binary files /dev/null and b/textures/radiant/shadernotex.tga differ