Jump to content

EffectsEd not applying alpha/rgb settings


Recommended Posts

Seems like every time I try to make an effect in EffectsEd lately there is some issue with the alpha and RGB values. Like the effect I was just working on, I was using the gfx/effects/wcloud texture with my own shader:

textures/ds_common/hint_cloud
{
	qer_editorimage	textures/ds_common/hint_cloud
	surfaceparm	forcesight
	surfaceparm	trans
	surfaceparm	nonsolid
	surfaceparm	noimpact
	surfaceparm	nomarks
    {
        clampmap textures/ds_common/hint_cloud
        blendFunc GL_ONE GL_ONE
        glow
        rgbGen wave inversesawtooth 0 1.1 0 0.7
    }
}

Modulate RGB value with alpha value was checked, pick start/end in color cube was checked. Min and max for RGB starting values were orange and purple, picked from the color swatches. Min and max starting values for alpha were both 0.1, min and max end values were 0. Transition was linear. The effect looked correct while playing it in EffectsEd, but when I see it in game, the color is still the default white from the original texture, and it's full opacity and doesn't fade to full transparency. Here's the full efx file:

 

 

 

repeatDelay				300

Particle
{
	count				1 2

	life				2000 4000

	rotationDelta		-2 2

	rgb
	{
		start			1 0 1 1 0.502 0.251
	}

	alpha
	{
		start			0.1
		end				0
		flags			linear
	}

	size
	{
		start			7 12
		end				30 40
		flags			linear
	}

	shaders
	[
		textures/ds_common/hint_cloud
	]
}
 

 

 

 

What am I doing wrong?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...