The Particle Renderer renders the Particle System on screen.
Property: | Function: |
---|---|
Cast Shadows | If enabled, allows object to cast shadows. |
Receive Shadows | If enabled, allows object to receive shadows. |
Materials | Reference to a list of Materials that will be displayed in the position of each individual particle. |
Use Light Probes | If enabled and baked light probes are present in the scene, an interpolated light probe. |
Light Probe Anchor | If set, Renderer will use this Transform’s position to find the interpolated light probe. |
Camera Velocity Scale | The amount of stretching that is applied to the Particles based on Camera movement. |
Stretch Particles | Determines how the particles are rendered. |
Billboard | The particles are rendered as if facing the camera. |
Stretched | The particles are facing the direction they are moving. |
SortedBillboard | The particles are sorted by depth. Use this when using a blending material. |
VerticalBillboard | All particles are aligned flat along the X/Z axes. |
HorizontalBillboard | All particles are aligned flat along the X/Y axes. |
Length Scale | If Stretch Particles is set to Stretched, this value determines how long the particles are in their direction of motion. |
Velocity Scale | If Stretch Particles is set to Stretched, this value determines the rate at which particles will be stretched, based on their movement speed. |
UV Animation | If either of these are set, the UV coordinates of the particles will be generated for use with a tile animated texture. See the section on Animated Textures below. |
X Tile | Number of frames located across the X axis. |
Y Tile | Number of frames located across the Y axis. |
Cycles | How many times to loop the animation sequence. |
Particle Renderers are required for any Particle Systems to be displayed on the screen.
When setting up a Particle Renderer it is very important to use an appropriate material and shader that renders both sides of the material. Most of the time you want to use a Material with one of the built-in Particle Shaders. There are some premade materials in the Standard Assets->Particles->Sources folder that you can use.
Creating a new material is easy:
By default particles are rendered billboarded. That is simple square sprites. This is good for smoke and explosions and most other particle effects.
Particles can be made to either stretch with the velocity. This is useful for sparks, lightning or laser beams. Length Scale and Velocity Scale affects how long the stretched particle will be.
Sorted Billboard can be used to make all particles sort by depth. Sometimes this is necessary, mostly when using Alpha Blended particle shaders. This can be expensive and should only be used if it really makes a quality difference when rendering.
Particle Systems can be rendered with an animated tile texture. To use this feature, make the texture out of a grid of images. As the particles go through their life cycle, they will cycle through the images. This is good for adding more life to your particles, or making small rotating debris pieces.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.