am using some textures that arent on the pak0 . i wrote shader file and all is working
the textures and all but when i compile with light filters the map , its twisting my shader in console his writing weird thing like couldnt find image for shader
a1ok2prp564643s = there is no such shader but when compiling in with only -bsp- meta its working right and his using the right shader with the write name from the shader file what is wrong?
light issue
Could you show us the shader file for the problem texture please. And it would also help if you could show a screenshot of the lit and unlit versions so we can see exactly what has gone wrong.
np i will take a screen soon i just cant get et atm btw shaderfile goes like this
textures/intergers/xwall_c11
{
qer_editorimage textures/intergers/xwall_c11.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xwall_c11.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xwall_c10
{
qer_editorimage textures/intergers/xwall_c10.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xwall_c10.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xwall_c09
{
qer_editorimage textures/intergers/xwall_c09.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xwall_c09.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xwall_c07
{
qer_editorimage textures/intergers/xwall_c07.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xwall_c07.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xwall_c02
{
qer_editorimage textures/intergers/xwall_c02.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xwall_c02.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/XTRIM_C07
{
qer_editorimage textures/intergers/XTRIM_C07.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/XTRIM_C07.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xtrim_c06
{
qer_editorimage textures/intergers/xtrim_C06.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xtrim_c06.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xtrim_c05
{
qer_editorimage textures/intergers/xtrim_C05.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xtrim_c05.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xtrim_c04
{
qer_editorimage textures/intergers/xtrim_C04.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xtrim_c04.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/XTRIM_C03
{
qer_editorimage textures/intergers/XTRIM_C03.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/XTRIM_C03.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xtrim_c02
{
qer_editorimage textures/intergers/xtrim_C02.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xtrim_c02.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/radio_c02
{
qer_editorimage textures/intergers/xradio_c02.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xradio_c02.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xpanel_switch
{
qer_editorimage textures/intergers/xpanel_switch.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xpanel_switch.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xdoor_m01f
{
qer_editorimage textures/intergers/xdoor_m01f.tga
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xdoor_m01f.tga
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xconcrete_c54a
{
qer_editorimage textures/intergers/xconcrete_c54a.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xconcrete_c54a.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/xmetal_m02
{
qer_editorimage textures/intergers/xmetal_m02.tga
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/xmetal_m02.tga
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/sign_c15
{
qer_editorimage textures/intergers/sign_c15.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/sign_c15.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/sign_c30a
{
qer_editorimage textures/intergers/sign_c30a.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/sign_c30a.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/dr_ss_banner_small
{
qer_editorimage textures/intergers/dr_ss_banner_small.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/dr_ss_banner_small.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/regenmap4
{
qer_editorimage textures/intergers/regenmap4.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/regenmap4.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/intergers/regenmap3
{
qer_editorimage textures/intergers/regenmap3.jpg
surfaceparm alphashadow
surfaceparm metalsteps
nomipmaps
nopicmip
cull disable
{
map textures/intergers/regenmap3.jpg
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
are ALL of those textures giving problems? If not, could you please edit your post to show only the shaders that are giving you trouble.
Another note: could you be so kind to put those shaders in a [ code ] tag next time? (remove the spaces between the square braces)
Thanks a lot 
A few things to check when making textures:
Are they all power of 2 widths and heights? For example 128x256 or 512x512 or 64x256 etc.
Are they being saved with some kind of special compression that might cause problems?
Another thing I see on the sahders is that you use the following commands a lot:
surfaceparm alphashadow
alphaFunc GE128
These are commands designed to use the alpha channel data from tga files, but you are using them on jpg files. That might be the problem.
If all you want are simple textures with no fancy effects, then use a shader like this:
textures/your_folder_name/the_texture_filename_without_extension
{
implicit map -
surfaceparm metalsteps (or grassteps, snowsteps, etc)
}
If the sound of the surface doesn’t bother you - then you can skip the shader altogether, just have the texture file in the right folder and it’ll be usable like a regular texture.
But we really need to see some screenshots to know exactly what the problem is.
I notice in the screenshot that the warning says: … xlab2/xxxxx…
It is almost as if the game is trying to load a shader that is called … xlab2… -something
I have no idea what causes this. Sorry.
Another thing: Did you list the name of your shader in the shaderlist.txt inside the folder scripts?
//L.
yep the fact is its working perfectly without filter and all of my files are in the right places in the right foldiers
It looks kind of like you have a lightmap allocation problem. If I’m right - which could well be a first
- then somehow your map is failing to allocate the lightmap data to the appropriate surfaces.
How are you running this map? Are you setting sv_pure to 0 before running it? Are you running it from a pk3 file or direct form the maps folder? Basically, I need you to tell me the steps you go through when you test your map. I think it’s possible you’re somehow making the game bypass the lightmap data. But it’s very odd that only some shaders are affected.
Maybe you can upload the xlab2 pk3 with .map file so anyone of us can download it and have a look at it?
using -Filter with another switch(can’t remember which one) borks things.
I read something wrong…nevermind this post
read the edit in my last post…
Also: Chester had a similiar problem >> http://www.splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&p=121721#121721
Instead of re-explaining it…read “Shallow’s” post below Chester’s post from that link".
aye, the same problem we hed but i still didnt figure out the answer i read like 3 times… i dont have spotlight or things like that issue…
… ill try figure that out
