+1 vote

Hello,

I am trying to create a X-COM like hp bar for my enemies with single sprite representing each health point.
To do this i used a 3D Sprite node as a billboard with a texture coming from a viewport. Inside the viewport there is a grid container where I instance each health point.
Everything works except that there is some weird pixel smoothing that hides/shows some part of the hp sprite resulting in a flickering effect as the camera moves and it just looks ugly when the camera is stopped.

How it looks:
enter image description here
enter image description here

The complete sprite:
enter image description here

Is there a way to tell the engine to always draw the complete sprite?
Import Filter property is off.

in Engine by (13 points)

1 Answer

0 votes

I don't know if this addresses your scenario, but I found that increasing the space between the flickering nodes can solve this issue. My case was simpler, I used a plane with a texture, pressed up against a 3d box shape - - but I had noticed flicker and adding a little distance solved it

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.