OpenGL/Vulkan Sprite Clipping

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: OpenGL/Vulkan Sprite Clipping

Re: OpenGL/Vulkan Sprite Clipping

by Enjay » Thu Jun 13, 2019 4:38 am

The other thing is that if it were done by some sort of cheat/hack/trick, I can guarantee that it would then become one of those features that generate years worth of bug reports for unusual maps and other edge cases that people feel should be supported because the feature is now "official".

Re: OpenGL/Vulkan Sprite Clipping

by Nash » Thu Jun 13, 2019 4:33 am

dpJudas attempted it before but concluded that it was trickier than he initially thought.

Re: OpenGL/Vulkan Sprite Clipping

by Graf Zahl » Thu Jun 13, 2019 3:43 am

That'd cause all kinds of different glitches. In the end it just boils down to the simple fact that you cannot cheat the depth buffer and there's currently no way to do advanced depth checking in the shader yourself. You could surely try some workaround but they'll come at a steep performance hit mostly.

Re: OpenGL/Vulkan Sprite Clipping

by Marisa the Magician » Thu Jun 13, 2019 2:33 am

Can't even do something a bit more cheaty like how UE "projects" the sprite forward towards the camera?

Re: OpenGL/Vulkan Sprite Clipping

by Hellser » Thu Jun 13, 2019 12:34 am

Alrighty, got'cha. :)

Re: OpenGL/Vulkan Sprite Clipping

by Graf Zahl » Thu Jun 13, 2019 12:21 am

Sorry, but this simply isn't possible. The only engine ever to implement an emulation for this is Strife VE, but the method it uses is incompatible with nearly every advanced GZDoom feature.

OpenGL/Vulkan Sprite Clipping

by Hellser » Wed Jun 12, 2019 8:37 pm

We have nearly everything to emulate Software Mode's looks, from the palette to SW banding and Software lighting mode. But we don't have a way to emulate Software's sprite clipping mode. It's either have the sprites float above the floor (Always, Smart, or Smarter) or have the sprites clip into the ground and lose some some rows of pixels (Never). Would it be feasible now to have this mode implemented for completion sakes?

Top