Closed BurningBeard24 closed 5 months ago
I'm not sure supporting animated textures in PointLight2Ds is a good idea. In 4.0 2D lighting is done in a single pass which means that all light textures have to be copied to an atlas. Supporting animated textures would require either:
Both options will be harmful for performance. I think number 2 may not be terrible, but I guess it depends on how big the AnimatedTexture is and how many frames it contains.
Closing in favor of:
Thank you for reporting
Godot version
Godot Engine v4.0.beta3.official.01ae26d31
System information
Xubuntu 22.04, Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1060 6GB
Issue description
If I use a AnimatedTexture resource for a PointLight2D it only shows the first frame of the animation. The same AnimatedTexture on a Sprite2D works.
Steps to reproduce
Minimal reproduction project
No response