Skip to content

Commit

Permalink
MODELS: Allow alpha transparency for tree_swamp.mdl
Browse files Browse the repository at this point in the history
  • Loading branch information
MotoLegacy committed Sep 2, 2024
1 parent ce3f8c4 commit 9a1952e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
File renamed without changes.
Binary file added common/models/props/tree_swamp$.mdl_0.tga
Binary file not shown.
8 changes: 8 additions & 0 deletions pc/nzp/scripts/alpha_transparency.shader
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,12 @@ models/props/chandelier$.mdl_0.lmp
progblendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
diffusemap models/props/chandelier$.mdl_0.tga
alphafunc ge128
}

models/props/tree_swamp$.mdl_0.lmp
{
program defaultskin
progblendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
diffusemap models/props/tree_swamp$.mdl_0.tga
alphafunc ge128
}

0 comments on commit 9a1952e

Please sign in to comment.