getting custom textures to work
Moderator: Moderators
getting custom textures to work
hello, i can't get custom textures to come up in mradiant. I'v followed Nemisis's tut and nothing, it's probably some stupid mistake.
the only thing i have'nt done is make the picture 256x256, does this matter?
the only thing i have'nt done is make the picture 256x256, does this matter?
- Deutsche Dogge
- First Lieutenant
- Posts: 183
- Joined: Wed May 07, 2003 11:50 pm
- Location: Quebec
- Contact:
post the content of your shader file so we can see what's wrong.
there should be a line stating which file to show in radient:
Also, never forget that people don't want to explain every steps of everyting to everyone that asks for it so, use the "search" button and look for texture(s), sometimes it's faster, when you find what you need. 
there should be a line stating which file to show in radient:
Code: Select all
textures/your_forlder/texture_name
{
qer_editorimage textures/your_folder/texture_name.tga <--- missing this?
qer_keyword texture_category
surfaceparm alphashadow
{
...
textures/bla/bla
{
qer_keyword m1
qer_keyword trim
qer_keyword stone
qer_keyword special
surfaceparm stone
{
map textures/bla/bla.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
i realize that people do not want to explain this to me, although i have searched for it on several differnet forums and nothing that helped me came up
{
qer_keyword m1
qer_keyword trim
qer_keyword stone
qer_keyword special
surfaceparm stone
{
map textures/bla/bla.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
i realize that people do not want to explain this to me, although i have searched for it on several differnet forums and nothing that helped me came up
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
- Deutsche Dogge
- First Lieutenant
- Posts: 183
- Joined: Wed May 07, 2003 11:50 pm
- Location: Quebec
- Contact:
that non-shader option did it, however, within mradiant it just looks like a non-texture or white, and when i test the map it looks like a non-textured item would. To answer the the other question, yes i believe the the files paths are correct and yes the files are accesible to mraidiant
NVM, the stupid problem was the format .TGA, (i thought it had to be .TGA because of nemesis's tut) i just switched it to .JPEG and it works fine, TY!!!!!!!!!
Another really quick question???...how come it's so zoomed in, (i got the image down to 256x256) i have a picture of a picture that i'm trying to put on the wall in my level, but like i said, the only thing visible is an enlarged part of the frame (of the picture)
Again, NVM i'm stupid, "fit to face"...arg i'm so dum
NVM, the stupid problem was the format .TGA, (i thought it had to be .TGA because of nemesis's tut) i just switched it to .JPEG and it works fine, TY!!!!!!!!!
Another really quick question???...how come it's so zoomed in, (i got the image down to 256x256) i have a picture of a picture that i'm trying to put on the wall in my level, but like i said, the only thing visible is an enlarged part of the frame (of the picture)
Again, NVM i'm stupid, "fit to face"...arg i'm so dum
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:


