//ships/imp_blasterimpact.efx

gfx/exp/wookie
{
	cull disable
	{
		oneshotanimmap 17 gfx/exp/kwookie1.tga gfx/exp/kwookie2.tga gfx/exp/kwookie3.tga gfx/exp/kwookie4.tga gfx/exp/kwookie5.tga gfx/exp/kwookie6.tga gfx/colors/black.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inversesawtooth 0.0  1.0  0.0 17
	}

	{
		oneshotanimmap 17 gfx/exp/kwookie2.tga gfx/exp/kwookie3.tga gfx/exp/kwookie4.tga gfx/exp/kwookie5.tga gfx/exp/kwookie6.tga gfx/colors/black.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0.0  1.0  0.0  17
	}
}

gfx/effects/whiteGlow
{
    {
        map gfx/effects/whiteglow
        blendFunc GL_ONE GL_ONE
        rgbGen vertex
    }
}

gfx/effects/wookie1
{
	q3map_nolightmap
	cull	twosided
    {
        map gfx/effects/wookie1
        blendFunc GL_ONE GL_ONE
        glow
        rgbGen identity
    }
}

gfx/effects/scorch_mp
{
	polygonOffset
	q3map_nolightmap
	sort	decal
	cull	twosided
    {
        clampmap gfx/effects/scorch_mp
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        alphaGen vertex
    }
}

gfx/effects/embers
{
	polygonOffset
	q3map_nolightmap
    {
        clampmap gfx/effects/embers
        blendFunc GL_ONE GL_ONE
        glow
        rgbGen vertex
        alphaGen vertex
    }
}

//ships/imp_blastermuzzleflash.efx

gfx/effects/blasterSideFlash
{
	cull	twosided
    {
        map gfx/effects/blastersideflash
        blendFunc GL_ONE GL_ONE
        rgbGen vertex
    }
}

gfx/effects/blasterFrontFlash
{
	cull	twosided
    {
        map gfx/effects/blasterfrontflash
        blendFunc GL_ONE GL_ONE
        rgbGen vertex
    }
}

//ships/imp_blastershot.efx

gfx/effects/blaster_blob_gs
{
	cull	twosided
    {
        map gfx/effects/blaster_blob_gs
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        alphaGen vertex
    }
}

//ext_data/vehicles/weapons/imp_laser.vwp

gfx/effects/scorch
{
	polygonOffset
	q3map_nolightmap
    {
        map gfx/effects/scorch
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
    }
    {
        clampmap gfx/effects/embers
        blendFunc GL_ONE GL_ONE
        glow
        rgbGen vertex
    }
    {
        clampmap gfx/effects/embers
        blendFunc GL_ONE GL_ONE
        glow
        detail
        rgbGen wave sin 0.5 -0.5 0 0.2
    }
}
