- Exposure: public
- UE Version: 4.20
This is for making a single sprite look like a fairly convincing dynamic light. Great for flashes during explosions so you don't have to spawn a dynamic light. Instruction count by default is 31. You can turn off directionality to reduce it to 22 instructions. Note that the instruction count you see in the material editor, in 4.20, will be wrong. See the function input descriptions for accurate counts.
ctrl + v
Fixed an issue where particle alpha at 0 would make it a black light instead of invisible (replaced a multiply with a lerp).
Added instruction count for close fade
Improved close fade smoothness
Cleaned up previous version
Added an option to fade when up close, so there isn't a pop if the camera goes through it (generally only needed for sprites that are around for a while)