News:

Come Chat with us live! Learn how HERE!

Main Menu

Everywhere seen particles

Started by Redman, December 29, 2008, 02:04:16 PM

Redman

Hello.

I'm making snow particle system for Paint9. I edited Niveus snow particle system to make it good for Paint9. I tested it with TestPS command on Procyon and i found weird bug...



Here's script:

paint9/snow
{
ejector
{
particle
{
shader sync textures/paint2/snowflake
displacement 0 0 0 ~300

velocityType static

velocityDir linear

velocityMagnitude 25
velocity 0 0 -1 ~25

accelerationType static
accelerationDir linear
acceleration 0 0 0 ~25
accelerationMagnitude 50


radius 0 4 4
alpha 8000 .5 0
rotation 0 0 ~360
bounce 0.1

lifeTime 15000
}
count infinite
delay 0
period 5 - ~0%
}
}


Those particles are seen almost on whole map. How to fix it?

Btw. Snowflakes texture are broken, because i used wrong alphafunc, I'll repair it later.