Different Custom Texture Question

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Different Custom Texture Question

Post 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
	}
}
Image

I had the manual laying on the ground for this screen shot. That is why I had to look at it through the scope. ( :shock: my eyes are getting bad. :lol: ) I have quite a few of these original field manuals that my grandfather had during WWII. They are in mint condition.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post 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
   } 
}
Image
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Post by Innkeeper »

Hmm... Not sure thats any closer to the real color.

Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm no oops :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
   } 
} 
Image
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Post 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.

Image
Here is the original image:

Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Have you tried the second shader I posted?

By the way you don't need a recompile when changing a shader.
Image
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Post 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. :cry:
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Try some different drivers :D.

e.g.

r_glDriver opengl32.dll / voodoo.dll / wickedgl.dll
Image
Post Reply