31 votes

How can I make particles glow and cast light on its surroundings?

Heads-Up: This answer is outdated. Unity now supports point light particles natively. Please see this answer for full details. I'll leave post this here for anyone curious, or using old versions of ...
user avatar
  • 115k
8 votes
Accepted

How can I make particles glow and cast light on its surroundings?

Light emiting particles is now a built in Unity feature in 5.5. Simply enable Lights in the particle inspector, throw in a reference to a light prefab (both point and spot lights work), and change ...
user avatar
  • 1,134
7 votes
Accepted

How can I implement a short-cut grass effect?

You might want to look into fur shading technique. This is what I would use for this type of grass, since the shorter the grass is the better the performance (less layers). Basically it works by ...
user avatar
7 votes
Accepted

Unity doesn't change particle color when render is set to mesh?

I'm not sure why you say "The material solution restricts me in terms of random start color and stuff like this." You can get random start colours into a material just fine. As I said in my first ...
user avatar
  • 115k
7 votes

Additive, Alpha Blended, Unlit, Lit differences?

"Lit" shaders are affected by lighting in your scene. So your smoke plume may be bright where it wafts through the cone of a street lamp, and dark where it passes into shadow. Lighting calculations ...
user avatar
  • 115k
5 votes
Accepted

How can I create an "afterimage" effect like this one?

Create a new particle system In the general settings: "Start Lifetime" reduce a lot. The lower, the lower the length of the particle trail. In my example I am using 0.2. "Start Speed" to 0, so the ...
user avatar
  • 112k
5 votes
Accepted

Why does accessing ParticleSystem.IsAlive() raise this error?

It looks like you haven't set ps to the correct type (it should be a particle system). Try something like this: ...
user avatar
  • 581
5 votes
Accepted

Differences between particles and using shader in creating effects

This will depend a lot on the specific effect you're trying to achieve. As one example, here's a pair of fire effects created by Edward del Villar. The one on the left uses particles, while the one ...
user avatar
  • 115k
4 votes

How to implement soft edge areas with particles

My thoughts about these two points: You could use shader blur, but that's going to be very expensive. Instead I would draw an extra border of triangles that fade from translucent in the center to ...
user avatar
4 votes

Point sprites in particle system?

As the book says, a geometry shader can create new geometry in the pipeline. In this case, quads - which are just four vertices, or triangle pairs, that make up a 3D square. We often use quads to ...
user avatar
  • 3,775
4 votes

How can I make particles glow and cast light on its surroundings?

Years ago, before dynamic lights were affordable, we would simply use a 2D-billboarded particle effect with additive blending. It would brighten the scene towards white. By drawing it with the correct ...
user avatar
  • 3,022
4 votes
Accepted

Trying to leave a trail of particle effects with a Particle system attached to an Object Unity C#

Set the "Simulation Space" setting of the particle system from "Local" to "World". That way the position and rotation of the particle system (or its parents) will only affect newly spawned particles ...
user avatar
  • 112k
4 votes

How to create a wind tunnel / sky diving effect like in Fortnite?

It looks like you can accomplish a similar effect by... Attach an object with a TrailRenderer component to each point on the model that should send out streaks (eg. the hands & feet) Set the ...
user avatar
  • 115k
4 votes
Accepted

Wind-blown fire particle effect from scratch

An effect like the one you show is actually pretty simple to code. Create a class Ember that sits at one (x,y) position and ...
user avatar
  • 29.1k
4 votes
Accepted

Dust trail when character runs

Attach a particle system to the character. Set "Simulation Space" to "World" instead of "Local", so the particles stay behind when the player with the particle system ...
user avatar
  • 112k
3 votes
Accepted

iOS Sprite Kit - Blend Mode Effect

Wrapping the SKEmitterNode in an SKEffectNode allows the EmitterNode to be rendered into a framebuffer which is subsequently rendered onto the screen. I tested this out (after much push and pull of ...
user avatar
  • 2,169
3 votes

Cover Screen with Snowing Effect in Libgdx

Im using LibGDX particle system for a snow effect. Here's the draft file. This will need some tuning but it's a good start. In this effect the png get some light blue tint. You can simply import it <...
user avatar
  • 131
3 votes

How to implement soft edge areas with particles

The idea i had when reading your post was this one : • build a set of tiles that you'll use for your areas. • render the area polygon on a small temporary canvas at the tile resolution (ex : if tiles ...
user avatar
3 votes
Accepted

Touch drawing in the dirt

So i'll post my attempt here. Idea is to have very simple particles (=speed(with friction)+position) that are layered. The top (=0) layer shows the dust at scale 1, then every layer below has bigger ...
user avatar
3 votes
Accepted

How to i create a Particle system in unity5?

Take a look at the built in Unity particle system. Additionally, there's a number of Unity beginner tutorials (which I think would be great for you), including one for the particle system. You can ...
user avatar
  • 72.7k
3 votes

Unity Additive particle effect blends with background

There are 2 hacks I can think of with which you can acheive this. You can create an alpha-blended 'mask particle system' for every additive particle system you create. Render the mask particle system ...
user avatar
  • 299
3 votes
Accepted

Particles to Denote Movement in Space

"The particles 'pop up' in front of the player when they're moving." Your calculations aren't generating points outside the view frustum, and it seems they're going to be re-generated until they ...
user avatar
3 votes
Accepted

How to add & copy ParticleSystem attached to an existing GameObject using C# script in Unity?

A simple workaround to do so is: 1- Make an empty GameObject with ParticleSystem attached. 2- Make prefab of that. Borrow that ...
user avatar
  • 3,337
3 votes
Accepted

Achieve a red lighning effect in unity for a 2d game

Attached to every sprite is a SpriteRenderer component which has a color property. You can use that property to recolor the ...
user avatar
  • 112k
3 votes
Accepted

OpenGL - Changing blending modes using sprite batching

Background OpenGL blend funcs are just a means of specifying a mathematical formula as follows: src: the output from your fragment shader. ...
user avatar
3 votes
Accepted

How to generate multiple particles at once?

This is called a "Burst" and it's part of the particle system's emission properties: Burst (scripting reference). A burst is a particle emission event, where a number of particles are all emitted ...
user avatar
  • 72.7k
3 votes
Accepted

How do I create this windblown snow effect?

Note: I have not used Unity yet, so here's my very high-level/conceptual answer: Aside from simply spawning particles in a particular area/direction, it looks like Skyrim is using another technique ...
user avatar
3 votes

Can I apply a force to particles from a script?

In 2018.2, the only way to apply external forces is through Wind Fields or direct collisions with rigid bodies. You will probably have luck by using the ShapeModule with a ShapeType of ...
user avatar
  • 1,740

Only top scored, non community-wiki answers of a minimum length are eligible