Skip to content

Commit

Permalink
SCRIPTS: lowercase texture name fixes for shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhardy committed Jun 23, 2024
1 parent cf645f6 commit d9f44b3
Showing 1 changed file with 88 additions and 90 deletions.
178 changes: 88 additions & 90 deletions wop/scripts.pk3dir/scripts/pad_harm.shader
Original file line number Diff line number Diff line change
Expand Up @@ -934,136 +934,134 @@ textures/pad_poster/poster002

textures/pad_harm/blend
{
qer_editorimage textures/pad_harm/Floor008mirror
qer_editorimage textures/pad_harm/floor008mirror
surfaceparm nolightmap
portal
{
map textures/pad_harm/Floor008mirror
map textures/pad_harm/floor008mirror
blendfunc blend
depthWrite
}
}

textures/pad_harm/add
{
qer_editorimage textures/pad_harm/Floor008mirror
qer_editorimage textures/pad_harm/floor008mirror
surfaceparm nolightmap
portal
{
map textures/pad_harm/Floor008mirror
map textures/pad_harm/floor008mirror
blendfunc add
depthWrite
}
}

textures/pad_harm/filter
{
qer_editorimage textures/pad_harm/Floor008mirror
qer_editorimage textures/pad_harm/floor008mirror
surfaceparm nolightmap
portal
{
map textures/pad_harm/Floor008mirror
map textures/pad_harm/floor008mirror
blendfunc filter
depthWrite
}
}

textures/pad_western/western_alpha_000 // Primary texture ONLY
{
qer_editorimage textures/common/alpha_000
qer_editorimage textures/common/alpha_000

q3map_alphaMod volume
q3map_alphaMod set 0.00
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
q3map_alphaMod volume
q3map_alphaMod set 0.00
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
}

textures/pad_western/western_alpha_025
{
qer_editorimage textures/common/alpha_025
qer_editorimage textures/common/alpha_025

q3map_alphaMod volume
q3map_alphaMod set 0.25
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
q3map_alphaMod volume
q3map_alphaMod set 0.25
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
}

textures/pad_western/western_alpha_050 // Perfect mix of both Primary + Secondary
{
qer_editorimage textures/common/alpha_050
qer_editorimage textures/common/alpha_050

q3map_alphaMod volume
q3map_alphaMod set 0.50
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
q3map_alphaMod volume
q3map_alphaMod set 0.50
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
}

textures/pad_western/western_alpha_075
{
qer_editorimage textures/common/alpha_075
qer_editorimage textures/common/alpha_075

q3map_alphaMod volume
q3map_alphaMod set 0.75
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
q3map_alphaMod volume
q3map_alphaMod set 0.75
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
}

textures/pad_western/western_alpha_085
{
qer_editorimage textures/common/alpha_085
qer_editorimage textures/common/alpha_085

q3map_alphaMod volume
q3map_alphaMod set 0.85
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
q3map_alphaMod volume
q3map_alphaMod set 0.85
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
}

textures/pad_western/western_alpha_100 // Secondary texture ONLY
{
qer_editorimage textures/common/alpha_100
qer_editorimage textures/common/alpha_100

q3map_alphaMod volume
q3map_alphaMod set 1.0
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
q3map_alphaMod volume
q3map_alphaMod set 1.0
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
qer_trans 0.75
}



//====================================
//Leinwände geben etwas Licht ab
//====================================

textures/pad_harm/utopiaatoll512_ft
{
qer_editorimage env/utopiaatoll512_ft
q3map_surfacelight 150
surfaceparm nolightmap
{
map env/utopiaatoll512_ft
}
qer_editorimage env/utopiaatoll512_ft
q3map_surfacelight 150
surfaceparm nolightmap
{
map env/utopiaatoll512_ft
}
}

textures/pad_harm/utopiaatoll512_lf
{
qer_editorimage env/utopiaatoll512_lf
q3map_surfacelight 150
surfaceparm nolightmap
{
map env/utopiaatoll512_lf
}
qer_editorimage env/utopiaatoll512_lf
q3map_surfacelight 150
surfaceparm nolightmap
{
map env/utopiaatoll512_lf
}
}


Expand All @@ -1073,21 +1071,21 @@ textures/pad_harm/utopiaatoll512_lf

textures/pad_harm/notausgang
{
q3map_surfacelight 300
surfaceparm nolightmap
{
map textures/pad_harm/notausgang
}
q3map_surfacelight 300
surfaceparm nolightmap
{
map textures/pad_harm/notausgang
}
}


textures/pad_harm/notausganglight
{
q3map_surfacelight 300
surfaceparm nolightmap
{
map textures/pad_harm/notausganglight
}
q3map_surfacelight 300
surfaceparm nolightmap
{
map textures/pad_harm/notausganglight
}
}


Expand All @@ -1096,39 +1094,39 @@ textures/pad_harm/notausganglight
//=======================================================
textures/pad_western/studioa
{
surfaceparm nomarks
surfaceparm trans
surfaceparm pointlight
polygonOffset
{
surfaceparm nomarks
surfaceparm trans
surfaceparm pointlight
polygonOffset
{
map textures/pad_western/studioa
blendFunc blend
blendFunc blend
rgbGen vertex
}
}

textures/pad_western/studiob
{
surfaceparm nomarks
surfaceparm trans
surfaceparm pointlight
polygonOffset
{
surfaceparm nomarks
surfaceparm trans
surfaceparm pointlight
polygonOffset
{
map textures/pad_western/studiob
blendFunc blend
blendFunc blend
rgbGen vertex
}
}

textures/pad_western/dressingroom
{
surfaceparm nomarks
surfaceparm trans
surfaceparm pointlight
polygonOffset
{
surfaceparm nomarks
surfaceparm trans
surfaceparm pointlight
polygonOffset
{
map textures/pad_western/dressingroom
blendFunc blend
blendFunc blend
rgbGen vertex
}
}

0 comments on commit d9f44b3

Please sign in to comment.