Particle Billboard Questions

  1. How do you change the proportions of a static billboard to something more rectangular? “Length Scale” or “Velocity Scale” will scale a particle that’s moving, but they don’t do anything to a static particle. For instance, a torch billboard.

  2. The “does Animate Color” seems to behave a bit oddly. If I don’t turn the first 3 colors to completely transparent I still get particles popping on screen, rather than fading in smoothly.

I don’t think there is a way to scale a particle currently. You’ll have to scale the texture. Or I guess you could do it in a custom vertex shader, but that’s a really crummy workaround.

-Jon

Just to avoid confusion, you can grow them using “Size Grow”, but it’s looking like you can’t grow thm disproportionately? [sigh]

Sorry, that’s what I meant. You can of course do Min Size and Max Size and animate it with Size Grow, but only uniformly, even from scripting through the particle interface. You only get a scalar size to work with, and no rotation.

-Jon

What about Emitter Velocity Scale? Doesn’t that stretch the image?

Well, that will stretch them if they’re moving, but my torch billboard isn’t moving, and it needs to be twice as tall as it is wide. I suppose I could just add a bunch of blank space to my torch map, but that’s pretty wasteful.

I bet just centering the flame in a square area is your best bet.

You can make a larger texture and keep some black space on the left and right side (or black alpha) to make it rectangular.

You could also try a trick. Remove the particle animator, so they are not moving. But set a very high initial velocity in some direction. This way the stretching will make it recangular. But they wont move because there is no particle animator. You can animate the colors from a script if you need to.

Good one joe! I hadn’t thought about that one.