GPU Particles
self:set_unshaded
ClientSets whether particles ignore scene lighting
Syntax
local status = self:set_unshaded(
state
)Parameters
| Type | Name | Description |
|---|---|---|
bool | state | true to ignore lighting, false to light the particles |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.gpu.create()
entity:set_unshaded(false)