XYBillboarding/FLATSPRITE problems

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Knobatnight

XYBillboarding/FLATSPRITE problems

Post by Knobatnight »

In a mod I'm creating I'm using an overhead camera that follows the player around the room. The problem is when enemies are in the room and the camera is tracking, there's a sort of parallax effect when given the +FORCEXYBILLBOARDING flag, as demonstrated below
https://gfycat.com/SnarlingDizzyHagfish

I tried using +FLATSPRITE which solves the parallax issue, but since it's being applied to an enemy, the whole sprite rotates to face its target, like this
https://gfycat.com/FirmImpoliteIndianpangolin

Is there any solution to this? Something like a ZOffset for sprites would probably solve it but I haven't found anything like that.

Return to “GZDoom”