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


XYBillboarding/FLATSPRITE problems

Post by Knobatnight » Sat Mar 25, 2017 8:51

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

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

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”