Author: ConFliX <[email protected]>     Reply to Message
Date: 1/26/2003 10:21:24 AM
Subject: shader HELP!

This isn't working, it's only loading the first section.
Gtk won't read anything else. Here it is!


textures/icemt_512/skybox
{
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm sky
q3map_globaltexture
qer_editorimage textures/icemt_512/icemtft.tga
q3map_sun .5 .5 .55 155 340 90
q3map_surfacelight 100
skyparms env/icemt_512/icemt 128 -
}

textures/conflix/glass1
{
qer_editorimage textures/conflix/glass/reflect1.tga
qer_trans 0.5
surfaceparm nolightmap
surfaceparm trans
surfaceparm glass
{
map textures/conflix/glass/reflect1.tga
tcGen environment
blendfunc GL_ONE GL_ONE
}
}

textures/conflix/glass2
{
qer_editorimage textures/conflix/glass/reflect2.tga
qer_trans 0.5
surfaceparm nolightmap
surfaceparm trans
surfaceparm glass
{
map textures/conflix/glass/reflect2.tga
tcGen environment
blendfunc GL_ONE GL_ONE
}
}

textures/myshader/icemt_skyportal
{
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm sky
q3map_globaltexture
qer_editorimage textures/common/skyportal.tga
q3map_sun .5 .5 .55 155 340 90
q3map_surfacelight 100
{
map textures/common/sky_portal.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
depthWrite
}
}
_