pixel texture smoothing on point light

Godot Version

4.6.3

Question

I added light to my pixel game and it ended up blurry for some reason, even though the texture looks fine when used on a sprite. Please tell me what to do. On the left is the texture on the point light, on the right on the sprite.

Set texture filtering to β€œNearest”.

Already, look at the texture on the right, it is smooth, like when β€œNearest” is turned on, it is the point light that blurs it for some reason

Are you using Compatibility render mode? AFAIK, Compatibility will always use linear filtering for light textures.

If that’s the case and you can’t change the render mode, it might be easier to use a Sprite2D with a BLEND_MODE_ADD CanvasItemMaterial instead of a PointLight2D.

Thank you