i took some new texture for several website
the textures took are in jpg extension for wood wall and others in tga (glass and water )
i add them in a folder textures/cutsom
textures name are 1.jpg 2.jpg 3.jpg.......tga etc etc
and i have the shader in : scripts/custom.shader
problem==> in moh radiant only the wood textures appeared and other are totally ignored!
so i cant see wall ,glass and water in moh radiant when i load my custom textures!!!!!
i tried even to change wall textures previously in jpg to tga and it dont work also
here is my custom.shader sorry its a bit long i know ===> classified by surface parm
Code: Select all
textures/custom/0
{
qer_editorimage textures/custom/0.tga
qer_keyword window
qer_keyword glass
surfaceparm glass
surfacelight 10000
{
map $lightmap
rgbGen identity
}
{
map textures/common/reflection1.tga
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
tcGen environment
}
{
map textures/custom/0.tga
blendfunc GL_ONE GL_ONE
}
}
textures/custom/glanz_gold
{
qer_editorimage textures/custom/glanz_gold.tga
qer_keyword gold
qer_keyword metal
// surfaceparm gold
surfaceparm metal
{
map textures/mohcommon/envnormndy_day.tga
tcGen environment
}
{
map textures/custom/glanz_gold.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
}
textures/custom/1
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/1.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/2
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/2.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/3
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/3.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/4
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/4.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/5
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/5.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/6
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/6.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/7
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/7.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/8
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/8.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/9
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/9.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/10
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/10.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/11
{
qer_keyword wood
qer_keyword roof
surfaceparm wood
{
map textures/custom/11.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/12
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
{
map textures/custom/12.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/13
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/13.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/14
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/14.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/15
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/15.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/16
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/16.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/17
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/17.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/18
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/18.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/19
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/19.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/20
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/20.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/21
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/21.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/22
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/22.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/23
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/23.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/24
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/24.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/25
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/25.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/26
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/26.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/27
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/27.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/28
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/28.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/29
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/29.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/30
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/30.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/31
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/31.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/32
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/32.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/33
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/33.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/34
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/34.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/35
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/35.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/36
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/36.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/37
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/37.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/38
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/38.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/39
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/39.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/40
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/40.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/41
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/41.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/42
{
qer_keyword wall
qer_keyword stone
surfaceparm stone
map textures/custom/42.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/43
{
qer_keyword special
qer_keyword metal
surfaceparm metal
{
map textures/custom/43.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/44
{
qer_keyword special
qer_keyword metal
surfaceparm metal
{
map textures/custom/44.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/45
{
qer_keyword special
qer_keyword metal
surfaceparm metal
{
map textures/custom/45.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/46
{
qer_keyword special
qer_keyword metal
surfaceparm metal
{
map textures/custom/46.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/47
{
qer_keyword special
qer_keyword metal
surfaceparm metal
{
map textures/custom/47.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/custom/48
{
qer_editorimage textures/custom/48.tga
qer_keyword utility
// the transparency in mohradiant
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
cull none
sort additive
{
map textures/custom/48.tga
tcMod scroll 0 0.5
// the speed of texture scrolling in x and y direction
tcMod scale 1 1
// size of applied texture higher value is a smaller texture
// smaller textures scroll proportionally faster
nextbundle
map textures/stargate/eau.tga
tcMod scroll 0.4 0
tcMod scale 1 1
}
}
textures/custom/49
{
qer_editorimage textures/custom/49.tga
qer_keyword utility
// the transparency in mohradiant
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
cull none
sort additive
{
map textures/custom/49.tga
tcMod scroll 0 0.5
// the speed of texture scrolling in x and y direction
tcMod scale 1 1
// size of applied texture higher value is a smaller texture
// smaller textures scroll proportionally faster
nextbundle
map textures/stargate/eau.tga
tcMod scroll 0.4 0
tcMod scale 1 1
}
}
textures/custom/50
{
qer_editorimage textures/custom/50.tga
qer_keyword utility
// the transparency in mohradiant
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
cull none
sort additive
{
map textures/custom/50.tga
tcMod scroll 0 0.5
// the speed of texture scrolling in x and y direction
tcMod scale 1 1
// size of applied texture higher value is a smaller texture
// smaller textures scroll proportionally faster
nextbundle
map textures/stargate/eau.tga
tcMod scroll 0.4 0
tcMod scale 1 1
}
}
textures/custom/51
{
qer_editorimage textures/custom/51.tga
qer_keyword utility
// the transparency in mohradiant
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
cull none
sort additive
{
map textures/custom/51.tga
tcMod scroll 0 0.5
// the speed of texture scrolling in x and y direction
tcMod scale 1 1
// size of applied texture higher value is a smaller texture
// smaller textures scroll proportionally faster
nextbundle
map textures/stargate/eau.tga
tcMod scroll 0.4 0
tcMod scale 1 1
}
}
textures/custom/glas
{
qer_editorimage textures/custom/glas_rad.tga
qer_keyword window
qer_keyword glass
qer_trans .4
surfaceparm glass
{
map textures/mohcommon/envnormndy_day.tga
tcgen environment
alphagen const .2
blendFunc blend
}
{
map textures/custom/glas.tga
depthWrite
alphaFunc GE128
nextbundle
map $lightmap
}
}
textures/custom/green_glas
{
qer_editorimage textures/custom/green_glas_rad.tga
qer_keyword window
qer_keyword glass
qer_trans .6
surfaceparm glass
{
map textures/mohcommon/envnormndy_day.tga
tcgen environment
alphagen const .2
blendFunc blend
}
{
map textures/custom/green_glas.tga
depthWrite
alphaFunc GE128
nextbundle
map $lightmap
}
}
textures/custom/52
{
qer_editorimage textures/custom/52.tga
qer_keyword window
qer_keyword glass
qer_trans .6
surfaceparm glass
{
map textures/mohcommon/envnormndy_day.tga
tcgen environment
alphagen const .2
blendFunc blend
}
{
map textures/custom/52.tga
depthWrite
alphaFunc GE128
nextbundle
map $lightmap
}
}
textures/custom/53
{
qer_editorimage textures/custom/53.tga
qer_keyword window
qer_keyword glass
qer_trans .6
surfaceparm glass
{
map textures/mohcommon/envnormndy_day.tga
tcgen environment
alphagen const .2
blendFunc blend
}
{
map textures/custom/53.tga
depthWrite
alphaFunc GE128
nextbundle
map $lightmap
}
}

