Page 1 of 1

Re: Quick shader issue

Posted: Sun Oct 30, 2005 11:26 am
by Survivor
Kaziganthe wrote:

Code: Select all

textures/hvcdm1/light2_flicker
{
	qer_editorimage textures/hvcdm1/light2.tga
	q3map_lightimage textures/hvcdm1/light2_glow.tga
	q3map_surfacelight 800
	q3map_lightsubdivide 128
	q3map_lightstyle 1
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	q3map_stylemarker
	{
		map textures/hvcdm1/light2.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/hvcdm1/light2_glow.tga
		blendfunc GL_ONE GL_ONE
                >blendfunc GL_SRC_ALPHA GL_ONE<
		rgbGen wave noise 0.75 0.25 0 10
	}
}
I thought