I was using gzdoom 4.7.1 with the vulkan renderer, didn't test with opengl.
I had "smart" sprite clipping enabled. The bug occurs with "always" and "smarter" but not "never" iirc
Apparently, using HD textures ("NeuralUpscale2x_v2.0.pk3") and some custom brightmaps ("bmplus_vanilla.pk3" but with "iwad" flags removed) together results in sprite clipping errors when brightmaps aren't specified for certain frames of looping animated sprites.
When the brigthmaps and hd textures were both enabled, the armor and health bonus would clip into the ground for one frame and look like they are bobbing up and down.
The bug didn't occur when using the brightmaps pk3 only or the textures pk3 only.
This is important: apparently, "bmplus_vanilla.pk3" has brightmap .png files for every frame of the animations except the first frame. Adding a brightmap .png for the first frame fixed the issue.
To be more specific: I worked around the bug by editing the .bm files in "bmplus_vanilla.pk3." "brightmaps/sprites/doom.bm" didn't say to map any .png files for bon1a0 and bon2a0, like this:
"brightmap sprite bon1a0
{
disablefullbright
}
brightmap sprite bon1b0
{
map "brightmaps/sprites/doom/bon1b0.png"
disablefullbright
}
brightmap sprite bon1c0
{
map "brightmaps/sprites/doom/bon1c0.png"
disablefullbright
}
brightmap sprite bon1d0
{
map "brightmaps/sprites/doom/bon1d0.png"
disablefullbright
}"
I created files in "brightmaps/sprites/doom" "bon1a0.png" and "bon2a0.png" and added "map "brightmaps/sprites/doom/bon1a0.png"" under "brightmap sprite bon1a0 {...":
"brightmap sprite bon1a0
{
map "brightmaps/sprites/doom/bon1a0.png"
disablefullbright
}
brightmap sprite bon1b0
{
map "brightmaps/sprites/doom/bon1b0.png"
disablefullbright
}
brightmap sprite bon1c0
{
map "brightmaps/sprites/doom/bon1c0.png"
disablefullbright
}
brightmap sprite bon1d0
{
map "brightmaps/sprites/doom/bon1d0.png"
disablefullbright
}"
and likewise for bon2a0. This stopped the armor and health from clipping weirdly for one frame.
Hope this helps?
weird sprite clipping bug with animated brightmaps
Moderator: GZDoom Developers
1 post
• Page 1 of 1
1 post
• Page 1 of 1
Return to “Vulkan Renderer Bugs”
Jump to
- Important Threads
- ↳ HELP! "Account is inactive!"
- ↳ Official ZDoom Community Rules
- ↳ Mod Download Broken? Request Reuploads Here
- ↳ Don't see your first post(s) here? DON'T PANIC
- ↳ Errors? Can't run that new mod? Your GZDoom or ZDoom may be too old!
- ↳ Official Discord Server
- ↳ New Password Requirements and Password Reset
- ↳ A quick notice about privacy (Re: Our efforts to combat spam)
- Official
- ↳ ZDoom (and related) News
- ↳ The Spotlight
- ↳ Developer Blog
- ↳ Rules and Forum Announcements
- Technical Issues
- ↳ Technical Issues
- ↳ Helpful Stickies
- GZDoom Development
- ↳ Bugs [GZDoom]
- ↳ Important Threads
- ↳ Please check the latest version (or dev builds) before reporting!
- ↳ Classic ("Carmack") Software Renderer Bugs
- ↳ OpenGL Renderer Bugs
- ↳ OpenGLES Renderer Bugs
- ↳ Vulkan Renderer Bugs
- ↳ Audio/Music Bugs
- ↳ LZDoom Bugs
- ↳ ZDoom.org Bugs
- ↳ On Hold Bugs
- ↳ On-Hold Softpoly Bugs
- ↳ Closed Bugs [GZDoom]
- ↳ Vintage Build Bugs
- ↳ SoftPoly2 Bugs
- ↳ Feature Suggestions [GZDoom]
- ↳ ZDoom.org Suggestions
- ↳ Code Submissions
- ↳ On Hold Suggestions
- ↳ Closed Feature Suggestions [GZDoom]
- Raze-Specific Stuff
- ↳ Raze
- ↳ News
- ↳ Raze (and ZDoom-related) News
- ↳ Technical Issues
- ↳ Technical Issues
- ↳ Raze Development
- ↳ Bugs [Raze]
- ↳ On Hold Bugs
- ↳ Closed Bugs [Raze]
- ↳ Feature Suggestions [Raze]
- ↳ Code Submissions
- ↳ On Hold Suggestions
- ↳ Closed Feature Suggestions [Raze]
- ↳ Discussion
- ↳ General
- ↳ Editing Help
- ↳ Scripting (Build)
- ↳ Mapping (Build)
- ↳ Tutorials (Build)
- ↳ Projects
- ↳ Projects
- ↳ Abandoned Projects
- Doom Editing Help
- ↳ Scripting
- ↳ Mapping
- ↳ Assets (and other stuff)
- ↳ Tutorials
- ↳ Programming and Compiling
- Discussion
- ↳ General
- ↳ Networking
- ↳ Legacy Discussion
- ↳ Off-Topic
- Projects
- ↳ Levels
- ↳ Gameplay Mods
- ↳ TCs, Full Games, and Other Projects
- ↳ Resources
- ↳ Requests
- ↳ Script Library
- ↳ Graphic/Audio Patches
- ↳ Shaders
- Software and Ports
- ↳ Launchers
- ↳ Game Engines
- ↳ Creation, Conversion, and Editing
- ↳ Miscellaneous
- Archives
- ↳ The Halls of the Dead
- ↳ Abandoned/Dead Projects
- ↳ Editing (Archive)