From ef3b64cdaa780185f474d372ecbb55cb0190948b Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Thu, 15 Mar 2012 14:07:19 +0200 Subject: [PATCH] Fix textures not being transparent on greatwall_revisited. They were missing a shader key, and I can't tell how they worked at all till now --- data/scripts/greatwall_revisited.shader | 14 ++++++++++++++ docs/TODO.txt | 4 +--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/data/scripts/greatwall_revisited.shader b/data/scripts/greatwall_revisited.shader index 1e2cd71c..9855480d 100644 --- a/data/scripts/greatwall_revisited.shader +++ b/data/scripts/greatwall_revisited.shader @@ -81,6 +81,7 @@ textures/gw_rev/baum1 { map textures/gw_rev/baum1.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -100,6 +101,7 @@ textures/gw_rev/border { map textures/gw_rev/border.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -120,6 +122,7 @@ textures/gw_rev/baum2d1 { map textures/gw_rev/baum2d1.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -140,6 +143,7 @@ textures/gw_rev/baum2d2 { map textures/gw_rev/baum2d2.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -160,6 +164,7 @@ textures/gw_rev/baum2d3 { map textures/gw_rev/baum2d3.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -180,6 +185,7 @@ textures/gw_rev/birke2d1 { map textures/gw_rev/birke2d1.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -200,6 +206,7 @@ textures/gw_rev/birke2d2 { map textures/gw_rev/birke2d2.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -220,6 +227,7 @@ textures/gw_rev/pine1 { map textures/gw_rev/pine1.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -240,6 +248,7 @@ textures/gw_rev/pine2 { map textures/gw_rev/pine2.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -260,6 +269,7 @@ textures/gw_rev/pine3 { map textures/gw_rev/pine3.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -279,6 +289,7 @@ textures/gw_rev/grasstex { map textures/gw_rev/grasstex.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -299,6 +310,7 @@ textures/gw_rev/grass2d1 { map textures/gw_rev/grass2d1.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -319,6 +331,7 @@ textures/gw_rev/grass2d2 { map textures/gw_rev/grass2d2.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } @@ -339,6 +352,7 @@ textures/gw_rev/grass2d3 { map textures/gw_rev/grass2d3.tga rgbGen identity + blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA } } diff --git a/docs/TODO.txt b/docs/TODO.txt index a3e53a72..23d3d9ca 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -150,6 +150,4 @@ - 0.7 | 0.8: Make normal slime and lava like the slime on gasolinepowered (reflection + refraction)? -- 0.7 BUG: It seems alpha textures don't work any more on evilspace and greatwall_revisited - -- 0.7 BUG: Water on Arahia is too bright \ No newline at end of file +- 0.7 | 0.8: Water on Arahia is too bright \ No newline at end of file -- 2.39.2