diff --git a/pc/nzp/fte.cfg b/pc/nzp/fte.cfg index f96ca96..d3d72ac 100644 --- a/pc/nzp/fte.cfg +++ b/pc/nzp/fte.cfg @@ -327,7 +327,7 @@ seta gl_texturemode "ln" //Specifies how world/model textures appear. Typ //First letter can be l(inear) or n(earest) and says how to sample from the mip (when downsampling). //The middle letter can . to disable mipmaps, or l or n to describe whether to blend between mipmaps. //The third letter says what to do when the texture is too low resolution and is thus the most noticable with low resolution textures, a n will make it look like lego, while an l will keep it smooth. -seta gl_blendsprites "0" //Specifies how sprites are blended. +seta gl_blendsprites "1" //Specifies how sprites are blended. //0: Alpha tested. //1: Premultiplied blend. //2: Additive blend. diff --git a/pc/nzp/scripts/alpha_transparency.shader b/pc/nzp/scripts/alpha_transparency.shader index da6cca9..5ba42b2 100644 --- a/pc/nzp/scripts/alpha_transparency.shader +++ b/pc/nzp/scripts/alpha_transparency.shader @@ -5,207 +5,3 @@ models/machines/mglow$.mdl_0.lmp diffusemap models/machines/mglow$.mdl_0.tga alphafunc ge128 } - -models/sprites/flame.spr_0.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/flame.spr_0.tga -} - -models/sprites/flame.spr_1.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/flame.spr_1.tga -} - -models/sprites/flame.spr_2.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/flame.spr_2.tga -} - -models/sprites/flame.spr_3.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/flame.spr_3.tga -} - -models/sprites/flame.spr_4.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/flame.spr_4.tga -} - -models/sprites/flame.spr_5.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/flame.spr_5.tga -} - -models/sprites/lamp_glow.spr_0.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/lamp_glow.spr_0.tga -} - -models/sprites/lamp_glow.spr_1.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/lamp_glow.spr_1.tga -} - -models/sprites/lamp_glow.spr_3.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/lamp_glow.spr_3.tga -} - -models/sprites/lamp_glow.spr_3_0.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/lamp_glow.spr_3_0.tga -} - -models/sprites/lamp_glow2.spr_0.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - models/sprites/lamp_glow2.spr_0.tga -} - -models/sprites/lamp_glow3.spr_0.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - models/sprites/lamp_glow3.spr_0.tga -} - -models/sprites/sprkle.spr_0.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/sprkle.spr_0.tga -} - -models/sprites/sprkle.spr_1.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/sprkle.spr_1.tga -} - -models/sprites/sprkle.spr_2.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/sprkle.spr_2.tga -} - -models/sprites/sprkle.spr_3.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/sprkle.spr_3.tga -} - -models/sprites/sprkle.spr_4.tga -{ - { - program defaultsprite - blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA - map $diffuse - alphafunc ge0 - nodepth - } - diffusemap models/sprites/sprkle.spr_4.tga -}