Actor flag to force disable sprite clipping
Moderator: GZDoom Developers
-
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Actor flag to force disable sprite clipping
Akin to how one can force XY billboarding on an actor, would it be possible to make it so an actor's sprites don't get pushed up/down by the GL renderer sprite clipping option?
-
- Lead GZDoom+Raze Developer
- Posts: 49177
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Actor flag to force disable sprite clipping
I think this feature is due for some serious rethinking anyway. There's already the SPROFS lump where you can override offsets for the hardware renderer, but with the current implementation it is still subjected to sprite clipping considerations.
For the time being I won't add any other means to mess around with this because ultimately they'll just complicate matters.
For the time being I won't add any other means to mess around with this because ultimately they'll just complicate matters.
-
- Posts: 486
- Joined: Tue Nov 29, 2005 2:15 pm
- Graphics Processor: nVidia with Vulkan support
Re: Actor flag to force disable sprite clipping
This. I have some fire actors that look like total ass with the sprite clipping options on.
-
-
- Posts: 1384
- Joined: Sun Oct 14, 2012 1:43 am
- Location: Ukraine
Re: Actor flag to force disable sprite clipping
What really complicates matters is that I just accidentally made an actor which has some rotations (notably 1, 2 and 8) "moved out of the floor", while rotations 3-7 stay as defined in the image offsets, and all that only happens if the actor is +ISMONSTER (but not +NOGRAVITY). So making a flag that unconditionally disables all the magic threshold should actually make things simplier
https://imgur.com/a/teDiMUr
Top to bottom: rotation 1, rotation rotation 2, rotation 3
The only way to fix this right now, is making a duplicate attached actor that does all the drawing (but doesn't have ISMONSTER flag), while my main actor will still have ISMONSTER for being counted and blocked by lines...
https://imgur.com/a/teDiMUr
Top to bottom: rotation 1, rotation rotation 2, rotation 3
The only way to fix this right now, is making a duplicate attached actor that does all the drawing (but doesn't have ISMONSTER flag), while my main actor will still have ISMONSTER for being counted and blocked by lines...