Terrain texture size


(Mark.C) #1

How to i change the size of my terrain textures so they dont look so tiled ?


textures/island_retreat/terrain_0
{
	q3map_baseshader textures/island_retreat/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/desert_sd/grass_sand_flat.tga
		
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/island_retreat/terrain_1
{
	q3map_baseshader textures/island_retreat/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/desert_sd/rock_edged_smooth.tga
		
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/island_retreat/terrain_2
{
	q3map_baseshader textures/island_retreat/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/temperate_sd/rock_graynoise.tga
		
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/island_retreat/terrain_3
{
	q3map_baseshader textures/island_retreat/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/temperate_sd/dirt3.tga
		
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/island_retreat/terrain_0to1
{
	q3map_baseshader textures/island_retreat/terrain_base
	{
		map textures/desert_sd/grass_sand_flat.tga
		
	}
	{
		map textures/desert_sd/rock_edged_smooth.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/island_retreat/terrain_0to2
{
	q3map_baseshader textures/island_retreat/terrain_base
	{
		map textures/desert_sd/grass_sand_flat.tga
		
	}
	{
		map textures/temperate_sd/rock_graynoise.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/island_retreat/terrain_0to3
{
	q3map_baseshader textures/island_retreat/terrain_base
	{
		map textures/desert_sd/grass_sand_flat.tga
		
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/island_retreat/terrain_1to2
{
	q3map_baseshader textures/island_retreat/terrain_base
	{
		map textures/desert_sd/rock_edged_smooth.tga
		
	}
	{
		map textures/temperate_sd/rock_graynoise.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/island_retreat/terrain_1to3
{
	q3map_baseshader textures/island_retreat/terrain_base
	{
		map textures/desert_sd/rock_edged_smooth.tga
		
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/island_retreat/terrain_2to3
{
	q3map_baseshader textures/island_retreat/terrain_base
	{
		map textures/temperate_sd/rock_graynoise.tga
		
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}



(Ifurita) #2

Did you add the shader name to your shaderlist.txt file?


(nUllSkillZ) #3

Hmm, there should be a shader with “base” in it’s name.
Normally it’s at the end of the shaderfile.
But it belongs at the start of the file (cut & paste).


(Mark.C) #4

I added it to the shaderlist.txt, but i actually deleted the last part instead of cut and paste…Ooopsy…
}EDIT{ You mean this ? /

textures/island_retreat/terrain_base
{
	q3map_lightmapaxis z
	q3map_lightmapmergable
	q3map_lightmapsize 512 512
	q3map_tcGen ivector ( 200 0 0 ) ( 0 200 0 )