pk3 custom textures problem
Posted: Tue Apr 20, 2004 2:58 am
I have 5 or 6 custom textures ive used in my map...I have put a .tga or a .jpg of each in my textures folder...and a shader for each in my sripts folder...Here is the setup of folders:
map
scripts
- storm_on_revin.shader
- WDPoster.shader
----Then some other texture shaders----
Textures
- Mohmenu
- EchoTextures
- GizTextures
Uber
UI
And here is an example of one of my custom shader files:
textures/EchoTextures/WDPoster
{
qer_keyword rock
qer_keyword trim
qer_keyword stone
qer_keyword special
surfaceparm stone
{
map textures/EchoTextures/WDPoster.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
Ive tryed editing the format of the shader to match other shaders...Ive tryed so many things and no luck...Just appears as grey and white light in game...I dont know what is wrong...Any ideas?
Also textures work perfect in radient.
map
scripts
- storm_on_revin.shader
- WDPoster.shader
----Then some other texture shaders----
Textures
- Mohmenu
- EchoTextures
- GizTextures
Uber
UI
And here is an example of one of my custom shader files:
textures/EchoTextures/WDPoster
{
qer_keyword rock
qer_keyword trim
qer_keyword stone
qer_keyword special
surfaceparm stone
{
map textures/EchoTextures/WDPoster.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
Ive tryed editing the format of the shader to match other shaders...Ive tryed so many things and no luck...Just appears as grey and white light in game...I dont know what is wrong...Any ideas?
Also textures work perfect in radient.