How to add custome (DDS and jpg copy of dds)texture.... i try to add,but I can't see texture in MohRadiant....what i need to do???
//used script:
textures/floors/b_sidewalk02
{
qer_keyword concrete
qer_keyword road
qer_keyword natural
qer_keyword dirt
qer_keyword stone
surfaceparm stone
{
map textures/floors/b_sidewalk02.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
Custome DDS texture...????
Moderator: Moderators
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
In the shader you just posted, you're using a .tga extension. Change it to whatever file type you modified your dds texture into and see if works then.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

You should probably specify an editor image.
qer_editorimage textures/floors/b_sidewalk02.tga
I'm using DDS textures in my map and everything works fine. Make sure your jpg images are saved as "baseline" and that both versions are the same resolution. You can test the ingame results by removing the jpgs from your texture folder and turning your texture compression off and on. Without the jpgs, your surfaces will not draw when you turn it off.
On a sidenote, you should probably add your mapname to your shader paths just to make sure you will not conflict with someone else's shader.
So then your shader and texture paths would be:
textures/yourmapname/floors/b_sidewalk02
qer_editorimage textures/floors/b_sidewalk02.tga
I'm using DDS textures in my map and everything works fine. Make sure your jpg images are saved as "baseline" and that both versions are the same resolution. You can test the ingame results by removing the jpgs from your texture folder and turning your texture compression off and on. Without the jpgs, your surfaces will not draw when you turn it off.
On a sidenote, you should probably add your mapname to your shader paths just to make sure you will not conflict with someone else's shader.
So then your shader and texture paths would be:
textures/yourmapname/floors/b_sidewalk02
Diego