particle system not visible in release mode Topic is solved

Problems building or running the engine, queries about how to use features etc.
Post Reply
Nickak2003
Goblin
Posts: 272
Joined: Thu Jun 10, 2004 4:19 am
x 26

particle system not visible in release mode

Post by Nickak2003 »

ogre1.11
I have a particle system and it works fine in debug mode, but in release mode it is not visible and I cannot figure out why.
isInScene=true, isEnabled=true, emiterNum = 1, particleCount > 0, SN position is OK. The material file is loaded and the .png is loaded. Again, it works in debug mode!

Code: Select all

material Flare
{
	technique
	{
		pass
		{
			lighting off
			scene_blend add
			depth_write off
			diffuse vertexcolour

			texture_unit
			{
				texture flare.png
			}
		}
	}
}

Code: Select all

// A jet engine (of sorts)
particle_system JetEngine1
{
	material 		Flare
	particle_width 	5
	particle_height	5
	cull_each		false
	quota			200
	billboard_type	point

	emitter Point
	{
		angle 20
		emission_rate 80
        time_to_live    0.2
        direction       0 1 0
        velocity_min    10
        velocity_max    100
        colour_range_start  1 1 0.5
        colour_range_end    1 0.8 0.3
		
	}
	affector ColourFader
	{
		red -0.25
		green -1
		blue -1
	}
	
}
What could the issue be my friends!
Nickak2003
Goblin
Posts: 272
Joined: Thu Jun 10, 2004 4:19 am
x 26

Re: particle system not visible in release mode

Post by Nickak2003 »

figured it out, problem with my code.
Post Reply