mirror of
https://github.com/nzp-team/assets.git
synced 2024-11-21 11:31:38 +00:00
FTE: Force set gl_blendsprites, remove sprites from alpha_transparency.shader
This commit is contained in:
parent
5bf5d96aa5
commit
8973ede5a0
2 changed files with 1 additions and 205 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue