Light

Overview

light renderer node
light renderer node

This renderer treats the particles as point-lights within the world
Note that the PopcornFX integration you’re using might not implement the particle light renderer.
Lights are displayed onscreen based on an input position, range and color

particles with a light renderer
particles with a light renderer

Performance considerations

Depending on the PopcornFX integration you are using, there might be different performance requirements. However, a few general rules should apply everywhere:

  1. If you create a large number of light particles, it is likely it will badly hurt performance through excessive overdraw, especially on mobile.

  2. If you need light particles with a large influence radius, you should keep their number low.

Geometry inputs

Property

Type

Description

Position

float3

Light position in world coordinates

Color

float4

Light color

Range

float

Radius of the light sphere, in world units. Light intensity falls down to zero on the sphere edge, Radius units away from the light Position

+ all common renderer properties

Render-features

LightTranslucent

bool

When enabled, tells the renderer the lights should affect transparent materials (not supported in the PopcornFX editor)

CastShadows

bool

When enabled, tells the renderer the lights should cast shadows.

AttenuationSteepness

float

Controls how fast the light intensity falls off from the center of the light