Jump to content
Sign in to follow this  
dupa1

Glowing particles?

Recommended Posts

How do I get particles to glow?

 

I am trying to create a sort of a "VR Helper Object", basically a circle of particles suspended in the air, and I have managed to do it using the universal particle texture. But I'd like the circle to glow in the dark. Any recommendations?

Share this post


Link to post
Share on other sites

OK, got it working. Gotta crank up the emissive color parameter to like 1000 instead of the normal 0..1.

  • Like 2

Share this post


Link to post
Share on other sites

It was successful, 

script:

  _particleSource = "#particlesource" createVehicleLocal ASLToAGL getPosASL _obj;
  _particleSource setParticleParams
  [

    ["\A3\data_f\ParticleEffects\Universal\Universal", 16, 12, 9, 0],
    "", "Billboard", 1, 2,                                      // animationName, type, timerPeriod, lifeTime
    [0,0,1 + (_forEachIndex*2)],                            // position relative to referenceObject
    [0,0,0],                                    // velocity
    1, 1.275, 1, 0, [1],                                                   // rotation, weight, volume, rubbing, size
    [[0,0.75,1,0.1]],    // colors
    [1000],                                    // animationPhase
    0, 0,                                        // randomDirectionPeriod, randomDirectionIntensity
    "", "",                                    // onTimer, beforeDestroy
    _obj,                                        // referenceObject
    0, false,                                    // angle, bounces
    -1, [[0,75,100,1]],                                // bounceOnSurface, emissiveColor
    [0,1,0]                                    // vectorDir - CANNOT be [0,0,0]
  ];
  _particleSource setDropInterval 0.005;
  _particleSource setParticleCircle [4, [0,0,0]];                                 // [circle radius, velocity]
  _particleSource setParticleRandom [0, [0, 0, 0], [0, 0, 0], 0, 0, [0, 0, 0, 0], 0, 0];
} forEach [1,2,3];

Screenshot:

https://steamcommunity.com/sharedfiles/filedetails/?id=3005390643

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×