new mapper need help
Moderator: Moderators
-
GANGSTER47
- Corporal
- Posts: 39
- Joined: Sat Jan 17, 2004 9:31 pm
- Contact:
need help in textures
need help agine
i load two textures and i tray to load mor but i can't
this what it's wrait:
Loading shader my_custom/boared1 - all.shader...failed!
Loading shader my_custom/israel - all.shader...done.
Loading shader my_custom/baby - all.shader...done.
Loading texture my_custom/...failed!
Loading texture my_custom/....failed!
Loading shader my_custom/baby - all.shader...done.
Loading texture my_custom/board1...LoadTGA: Only type 2 and 10 targa RGB images supported
failed!
Loading shader my_custom/israel - all.shader...done.
Loading shader my_custom/time - all.shader...LoadTGA: Only type 2 and 10 targa RGB images supported
failed!
i load two textures and i tray to load mor but i can't
this what it's wrait:
Loading shader my_custom/boared1 - all.shader...failed!
Loading shader my_custom/israel - all.shader...done.
Loading shader my_custom/baby - all.shader...done.
Loading texture my_custom/...failed!
Loading texture my_custom/....failed!
Loading shader my_custom/baby - all.shader...done.
Loading texture my_custom/board1...LoadTGA: Only type 2 and 10 targa RGB images supported
failed!
Loading shader my_custom/israel - all.shader...done.
Loading shader my_custom/time - all.shader...LoadTGA: Only type 2 and 10 targa RGB images supported
failed!
-
GANGSTER47
- Corporal
- Posts: 39
- Joined: Sat Jan 17, 2004 9:31 pm
- Contact:
Make sure that in the shader, if you saved the image as a .tga, then your
map/textures/my_custom line in your shader should read:
map/textures/my_custom/board1.tga
And if you used .jpg format, it should read:
map/textures/my_custom/board1.jpg
Since the image is showing up in the editor, I think certainly it is a shader issue, and not an image issue.
Oh....and Wacko is right....we would most likely cure this problem if we saw the all.shader.
One more thing that just popped into my head....
I noticed that in the 3D view, there is writing there on the board that is not present on the image in the texture window.
Which prompts me to ask:
Where EXACTLY are those board brushes in relation to each other and the wall? This could be a z-fighting no rad-bounce nightmare.
map/textures/my_custom line in your shader should read:
map/textures/my_custom/board1.tga
And if you used .jpg format, it should read:
map/textures/my_custom/board1.jpg
Since the image is showing up in the editor, I think certainly it is a shader issue, and not an image issue.
Oh....and Wacko is right....we would most likely cure this problem if we saw the all.shader.
One more thing that just popped into my head....
I noticed that in the 3D view, there is writing there on the board that is not present on the image in the texture window.
Which prompts me to ask:
Where EXACTLY are those board brushes in relation to each other and the wall? This could be a z-fighting no rad-bounce nightmare.
Hmmm.. I responded to this out of memory.Wacko wrote:![]()
in the shader i always use extension tga even for image.jpg kinda files!
I think in my shaders I use the actual .jpg or .tga, and for the loading screens I use .tga regardless of the filetype.
But if it works either way for a shader, changing it will not help.
I just did a bit of research in my files.
This is a shader that I have for a tex that I made. The image is a .jpg:
textures/vcsp/vcsp_barndoor2
{
qer_keyword wood
qer_keyword wall
surfaceparm wood
{
map textures/vcsp/vcsp_barndoor2.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
I called the image using the .jpg file extension in the shader, and there are no problems with it.
Which leads me to believe that you CAN call the image in your texture.shader with .jpg, but in a loading screen.shader, it would only respond to .tga, regardless of the image type.
This is a shader that I have for a tex that I made. The image is a .jpg:
textures/vcsp/vcsp_barndoor2
{
qer_keyword wood
qer_keyword wall
surfaceparm wood
{
map textures/vcsp/vcsp_barndoor2.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
I called the image using the .jpg file extension in the shader, and there are no problems with it.
Which leads me to believe that you CAN call the image in your texture.shader with .jpg, but in a loading screen.shader, it would only respond to .tga, regardless of the image type.
-
GANGSTER47
- Corporal
- Posts: 39
- Joined: Sat Jan 17, 2004 9:31 pm
- Contact:
this is the all.shader file:
textures/my_custom/baby
{
qer_editorimage textures/my_custom/baby.tga
qer_keyword wood
qer_keyword wall
surfaceparm wood
{
map textures/my_custom/baby.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/my_custom/israel
{
qer_editorimage textures/my_custom/israel.tga
qer_keyword wood
qer_keyword wall
surfaceparm carpet
{
map textures/my_custom/israel.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/my_custom/boared
{
qer_editorimage textures/my_custom/boared.tga
qer_keyword wood
qer_keyword wall
surfaceparm wood
{
map textures/my_custom/boared.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/my_custom/time
{
qer_editorimage textures/my_custom/time.tga
qer_keyword wood
qer_keyword wall
surfaceparm carpet
{
map textures/my_custom/time.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/my_custom/pass
{
qer_editorimage textures/my_custom/pass.tga
qer_keyword wood
qer_keyword wall
surfaceparm wood
{
map textures/my_custom/pass.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/my_custom/board1
{
qer_editorimage textures/my_custom/board1.tga
qer_keyword wood
qer_keyword wall
surfaceparm wood
{
map textures/my_custom/board1.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
and if u see i add anther texture and it work fine
textures/my_custom/baby
{
qer_editorimage textures/my_custom/baby.tga
qer_keyword wood
qer_keyword wall
surfaceparm wood
{
map textures/my_custom/baby.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/my_custom/israel
{
qer_editorimage textures/my_custom/israel.tga
qer_keyword wood
qer_keyword wall
surfaceparm carpet
{
map textures/my_custom/israel.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/my_custom/boared
{
qer_editorimage textures/my_custom/boared.tga
qer_keyword wood
qer_keyword wall
surfaceparm wood
{
map textures/my_custom/boared.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/my_custom/time
{
qer_editorimage textures/my_custom/time.tga
qer_keyword wood
qer_keyword wall
surfaceparm carpet
{
map textures/my_custom/time.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/my_custom/pass
{
qer_editorimage textures/my_custom/pass.tga
qer_keyword wood
qer_keyword wall
surfaceparm wood
{
map textures/my_custom/pass.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/my_custom/board1
{
qer_editorimage textures/my_custom/board1.tga
qer_keyword wood
qer_keyword wall
surfaceparm wood
{
map textures/my_custom/board1.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
and if u see i add anther texture and it work fine
Re: need help in textures
okay. your error messages (and my comments)
Loading shader my_custom/boared1 - all.shader...failed!
there's no boared1 in the shader...
Loading shader my_custom/israel - all.shader...done.
fine...
Loading shader my_custom/baby - all.shader...done.
fine...
Loading texture my_custom/...failed!
something wrong in the map file...
Loading texture my_custom/....failed!
again...
Loading shader my_custom/baby - all.shader...done.
fine...
Loading texture my_custom/board1...LoadTGA: Only type 2 and 10 targa RGB images supported failed!
solved some posts ago?!
Loading shader my_custom/israel - all.shader...done.
fine...
Loading shader my_custom/time - all.shader...LoadTGA: Only type 2 and 10 targa RGB images supported failed!
solved some posts ago?!
the last problem (with board1) should be solved by converting the board1.tga into a jpg, because the only thing i can imaging this error would be something wrong with the alphachannel
Loading shader my_custom/boared1 - all.shader...failed!
there's no boared1 in the shader...
Loading shader my_custom/israel - all.shader...done.
fine...
Loading shader my_custom/baby - all.shader...done.
fine...
Loading texture my_custom/...failed!
something wrong in the map file...
Loading texture my_custom/....failed!
again...
Loading shader my_custom/baby - all.shader...done.
fine...
Loading texture my_custom/board1...LoadTGA: Only type 2 and 10 targa RGB images supported failed!
solved some posts ago?!
Loading shader my_custom/israel - all.shader...done.
fine...
Loading shader my_custom/time - all.shader...LoadTGA: Only type 2 and 10 targa RGB images supported failed!
solved some posts ago?!
the last problem (with board1) should be solved by converting the board1.tga into a jpg, because the only thing i can imaging this error would be something wrong with the alphachannel

