TEXTURES!!! Theyre not fited in game

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

Moderator: Moderators

Post Reply
Aprop
Major
Posts: 291
Joined: Mon Nov 17, 2008 3:40 pm

TEXTURES!!! Theyre not fited in game

Post by Aprop »

I fited textures in radiant, but it dont work in game... can somebody explain me why?

shader

Code: Select all

textures/tex/01
{
	qer_keyword wall
	qer_keyword tex
	surfaceparm metal
	cull none
	{
		map textures/tex/01.jpg
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Try

Code: Select all

textures/tex/01
{
   qer_keyword wall
   qer_keyword tex
   surfaceparm metal
   cull none
   qer_editorimage textures/tex/01.tga
   {
      map textures/tex/01.jpg
      depthWrite
      rgbGen identity
   }
   {
      map $lightmap
      rgbGen identity
      blendFunc GL_DST_COLOR GL_ZERO
      depthFunc equal
   }
}
Image
Aprop
Major
Posts: 291
Joined: Mon Nov 17, 2008 3:40 pm

Post by Aprop »

Code: Select all

   qer_editorimage textures/tex/01.tga 
Its image for editor, isnt it? I have problem in game, because texture is too small, eg 5 walls on one wall!
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

If you don't specify a qer_editorimage, Radiant falls back to the first shader stage, but still it may align the texture differently than the game would. So the case might be that you are tricked into thinking your texture fits OK while in reality it doesn't.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply