Always one scale for particles (far or near)

How I fix this problem ? If the player stay near to the emitter, the scale of particles is the "real size", but if I get distance of the emitter, the size of particles grow/scale and I want to show the emitter always with the same scale (without worry about the distance of the player).

alt text

This is strange. It looks like Point Sprites are being used as the underlying particle drawing.

5 Answers

5

Is the problem that they "bunch up" in the Right (long) view, and look too solid?

When that happens to me, it's because maxSize is too big. MaxParticleSize (in the renderer) forces them smaller on the near view, but lets them grow in the far view.

Try "turning off" MaxParticleSize by setting it to 1 (100% means it won't shrink anything.) Then adjust the size until near/far look correct. After that you can turn MaxParticleSize back on.

MPS is there so if you walk through a small cloud, it won't fill the entire screen and block vision.

Hi, all the answers online did not help me, but finally I found the solution:
The thing is: Min Particle Size and May Particle Size Settings will not affect your particles as desired as long as “Billboard Alignment” is set to “view”!

So if you want that your partciles in Unity keep a constant, absolute size (= size of particle in the world, not relative to the camera or viewport), set Billboard Alignment to “Facing”.

Also check all the aother parameters shown in the following screenshot, because they may interfere with your particle size if configured the wrong way!

Hope this helps!
Cheers,
Matt

Thank you so much for this!

This is strange. It looks like Point Sprites are being used as the underlying particle drawing

Yes, is very strange. But I search in properties something that I'll configure to not scale sprites of particles, but I dont found anything. Some idea ?

I showed it to a support guy at GDC who said this was a bug. Thanks for posting these pics, see below for mine.

The problem is that particles (each individual particle) is rendered at the same screen-size. So if you have good looking smoke coming off a cigarette close up, from a distance, it would look like a forest fire.

The culprit(s) seem to be that there is a 'max screen size' and you can hit it very easily by having particle sizes that either start out too big, or grow to be too big. If you are running into this problem, look at MaxParticleSize AND GrowSize, and reduce one or both. You may also want to check on Min and Max size on the emitter.

Now to prove that it's not simply 'set MaxParticleSize to 1', check these out. I used a large garrish texture so you can see that at near, mid, and far distances, the particles max out at the same on-screen size, even if MaxParticleSize IS 1. The white cube is 1 unit big, the gray plane is the default (10 units).

Near: Near

Mid: Mid

Far: Far

Setting that to, say, .1 helps quite a bit. It may depend on your scene, how far away you can see the P.S. as to whether you will notice this effect.

The support guy must have misunderstood. As owenpat said, changing the MaxParticleSize to 1 prevents this from happening. The reason why it's not 1 by default is because you can have fill-rate issues with many large particles filling the screen. So careful about doing that, but there's no bug.

I beg to differ. I just tried this on my project, where MaxParticlSize was .3. I changed it to 1. Same exact result. I shall post screen shots as proof, then you can tell me what I did wrong.

After futzing a bit, it seems that it's not MaxPariticleSize, but SizeGrow that makes a big difference. I'm still digging in here, but this is a clue. unknown(google), check your SizeGrow and make sure it's not too big. Mine was at 20 and I got this effect. I'll still post some screenshots to illustrate.

Yeah, SizeGrow is tricky. The units seems to be more than size/Sec, but not listed in the manual. I think I tried 3, it slammed against the size limit, but I didn't know that. Tried 20, which just made it slam to max screen size faster, so gave up on it for a month.

Yep. I edited my answer and added pictures.

Thanks for the answer, really if I change the value of Render Max Particles Size to 1, the size is same near or far.

alt text

Add comments, not answers.