Blurry PointLight2D texture?

Godot Version

4.5-stable

Question

Hello! I’ve been trying to include a lighting system in my game, where the environment around the player is light, while the surroundings are dark. I attached a point light 2D node to the player and gave it a white pixel circle texture:


However, inside the game (and inside the editor) the light texture is blurry and jitters on player movement:

All of the other sprites are crisp and not blurry, it’s just the light. Is there any way to make the light crisp and be just a pixel circle? Would be grateful for any help!

Set texture filtering to “nearest” in light’s properties in the inspector.

Hello! Thank you for the reply. I did set it to nearest (under CanvasItem → Texture → Filter), but that didn’t solve the problem, it’s still blurry.

Hmm, seems that texture filtering for light textures other than default linear is still not implemented.

You can try using a regular sprite in additive mode instead of the light node.

2 Likes

Thank you! I ended up using a sprite with a multiply mode to make the surroundings around the player darker.

since it’s pixel art,in low res the blurry-ness will just go away(I think so)