Download

Sprite stops rendering if center point is visually blocked

I’m using a sprite for a moon in the sky. It’s the first time i’ve used sprites and i’m noticing that if the center point of the sprite is blocked (like from a branch of a tree) the whole sprite stops rendering.

Anyone know how to make it always render? Cheers

Does this happens both with dx9 and dx11?

I have only checked DX9 (which is what I use for the Steam build of my game).

I don’t know how to fix sprites. But you might be able to do this with a particle effect. It will always face toward the camera and it won’t disappear behind tree branches.

Nice idea @Nathaniel3W I think I’ll do exactly that :slight_smile: