Page 1 of 1
Different Custom Texture Question
Posted: Tue Feb 11, 2003 9:03 pm
by Innkeeper
I have finally figured out how to add transparence to my targa images. (I'm a bit slow) Now I?m wondering if the mottled color is something with the shader or me just using a voodoo video card. Any ideas?
Code: Select all
textures/poster/FM_23-85
{
qer_editorimage textures/poster/FM_23-85.tga
qer_keyword masked
surfaceparm wood
// surfaceparm alphashadow
cull none
nopicmip
{
map textures/poster/FM_23-85.tga
alphaFunc GE128
depthWrite
nextbundle
map $lightmap
}
}
I had the manual laying on the ground for this screen shot. That is why I had to look at it through the scope. (

my eyes are getting bad.

) I have quite a few of these original field manuals that my grandfather had during WWII. They are in mint condition.
Posted: Tue Feb 11, 2003 9:08 pm
by jv_map
Code: Select all
textures/poster/FM_23-85
{
qer_editorimage textures/poster/FM_23-85.tga
qer_keyword masked
surfaceparm wood
surfaceparm alphashadow
cull none
nopicmip
{
map textures/poster/FM_23-85.tga
blendFunc blend
rgbGen identity
alphaFunc GE128
depthWrite
}
{
map $lightmap
rgbGen identity
blendFunc filter
}
}
Posted: Tue Feb 11, 2003 9:17 pm
by Innkeeper
Hmm... Not sure thats any closer to the real color.

Posted: Tue Feb 11, 2003 9:27 pm
by jv_map
Hmm no oops

.
Sorry just guessing:
Code: Select all
textures/poster/FM_23-85
{
qer_editorimage textures/poster/FM_23-85.tga
qer_keyword masked
surfaceparm wood
surfaceparm alphashadow
cull none
nopicmip
{
map textures/poster/FM_23-85.tga
blendFunc blend
alphaFunc GT0
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc filter
rgbGen identity
depthFunc equal
}
}
Posted: Tue Feb 11, 2003 9:43 pm
by Innkeeper
Sorry, my mistake. I forgot to recompile before using the new shader. Not much change though. You may notice at the bottom right, the transparent part of the brush shows up a bit at times.

Here is the original image:

Posted: Tue Feb 11, 2003 9:47 pm
by jv_map
Have you tried the second shader I posted?
By the way you don't need a recompile when changing a shader.
Posted: Tue Feb 11, 2003 9:51 pm
by Innkeeper
Yea, no change. I am thinking it is how my system renders the colors. Nothing really looks just like the images when you see them in mohradiant or a picture editor.

Posted: Tue Feb 11, 2003 9:53 pm
by jv_map
Try some different drivers

.
e.g.
r_glDriver opengl32.dll / voodoo.dll / wickedgl.dll