landscape texture


(mrfin) #1

Hello mapping types

I made a landscape in easygen and when I added it to an existing map
the textures (all of 2) rearanged themselves. So where texture #1 should be #2 is and vice versa. They still blend ok and in fact I quite liked the results here and there - but I want to change them to how I initially made them.
Do I just rearange the texture order in the shader(below)? - or is there something else I have to deal with?

Heres the shader:

textures/bridgespt3b/terrain_0
{
	q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 1024 1024
	q3map_tcGen ivector ( 1024 0 0 ) ( 0 1024 0 )
	surfaceparm landmine
	surfaceparm snowsteps

	{
		map textures/snow_sd/snow_var01.tga
	}

		{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/bridgespt3b/terrain_1
{
	q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 1024 1024
	q3map_tcGen ivector ( 1024 0 0 ) ( 0 1024 0 )
	
	{
		map textures/bridges/snowrock.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}
textures/bridgespt3b/terrain_0to1
{
	q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 1024 1024
	q3map_tcGen ivector ( 1024 0 0 ) ( 0 1024 0 )
	
	{
		map textures/snow_sd/snow_var01.tga
	}
	{
		map textures/bridges/snowrock.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

(]UBC[ McNite) #2

Afaik just edit the shader. Worked well for River Redux.


(mrfin) #3

Thanks McNite

I hoped as much - am right on to it
:cool: