scripts for texture


(=ds=bart) #1

hi .
i was wondering about my texure.
i just wanna make it show up in game and made this lol .

textures/terminate/must00
{
	qer_editorimage textures/terminate/must00.jpg
	q3map_nonplanar
	q3map_shadeangle 60
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/terminate/must00.jpg
		blendFunc filter
	}
}
textures/terminate/must00
{
	qer_editorimage textures/terminate/must00.jpg
	surfaceparm trans
	surfaceparm noimpact
	surfaceparm nonsolid
	cull disable
	//deformVertexes wave 128 sin 0 3 0 0.3 
	//{
	//	map textures/terminate/must00.jpg
	//	blendfunc gl_one_minus_dst_color gl_one_minus_src_color
	//}
	{
		map textures/terminate/must00.jpg
		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen wave triangle -8 9 0 0.137
		alphaGen wave noise -3 4 0 2.37
	}
}

is this bad are can i geth this like this .
thy work with htis .
cause im confused.
some say you dont need shader to have textures show up .
bud ive tryd to putt in textures with no shader bud thy wont show up.
lol and yes i know about the powers off 2
128 128 256 256.
:clap: :clap: :clap: .


(Shaderman) #2

some say you dont need shader to have textures show up .

They’re right. Maybe you tell us about what happens if you try to use textures?


(WeblionX) #3

By the way, you have two shader sections named the same. You may want to change one of them.

For the first one, you’ll want to put ‘rbgGen identity’ in the following section:

   {
      map textures/terminate/must00.jpg
      blendFunc filter
   } 

After blendFunc filter.


(=ds=bart) #4

thx .
weblionx and shaderman.
i have to work allot bud every free time gos to learning about mapping lol.
have to do it all alone .
i have like 100 little prefabs cant seem to geth 1 map finishd.
to many idea’s running true my head.
(even my family complains i map to match lol)
am i addicted .
i know you guys draw out your maps first tryd that to tryd all bud like i said to many ideas .
(some say you dont need shader to have textures show up ).
i geth the yellow and black sqaures. :clap: :clap:
sorry for the poor englisch :drink:
from the land off beer.
http://uk.pg.photos.yahoo.com/ph/mijnendonckx/album?.dir=8751&.src=ph&store=&prodid=&.done=http%3A//uk.pg.photos.yahoo.com/ph/mijnendonckx/my_photos


(boomart) #5

rofl the BEAN screenie :clap: