]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/solarpanel.shader
Merge branch 'master' into divVerent/opera-by-morphed
[xonotic/xonotic-maps.pk3dir.git] / scripts / solarpanel.shader
diff --git a/scripts/solarpanel.shader b/scripts/solarpanel.shader
new file mode 100644 (file)
index 0000000..8dbd271
--- /dev/null
@@ -0,0 +1,27 @@
+textures/solarpanel/panels
+{
+       qer_editorimage textures/solarpanel/panels.tga
+       {
+               map textures/solarpanel/panels
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+
+textures/solarpanel/solarmetal
+{
+       qer_editorimage textures/solarpanel/solarmetal.tga
+       {
+               map textures/solarpanel/solarmetal
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}