Mirrors don't work after indexbuffer merge
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- Marisa the Magician
- 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
- Contact:
- Xane123
- Posts: 165
- Joined: Tue Nov 24, 2015 1:58 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Inwood, WV
- Contact:
Re: Mirrors don't work after indexbuffer merge
I'm going to assume this is also what broke reflective surfaces in my game as well! Now instead of reflecting, the surface just turns transparent and you can see the sky and lower sectors through it!
(Also, broken mirror visible in screenshot. Hope this is fixed sometime.)- Xane123
- Posts: 165
- Joined: Tue Nov 24, 2015 1:58 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Inwood, WV
- Contact:
Re: Mirrors don't work after indexbuffer merge
Thanks, _mental_. It's strange how updates to GZDoom break random things but I guess that's why they're development builds.
Re: Mirrors don't work after indexbuffer merge
No, it's not strange at all.
The part of the code that this affects was completely wiped out and rewritten. Bugs are going to happen in such a scenario because there's no possible way anyone (not even Graf, who likely knows more than anyone else about the code base right now) can account for every possible use scenario in one go.
Don't forget: GZDoom is a very complex piece of software.
The part of the code that this affects was completely wiped out and rewritten. Bugs are going to happen in such a scenario because there's no possible way anyone (not even Graf, who likely knows more than anyone else about the code base right now) can account for every possible use scenario in one go.
Don't forget: GZDoom is a very complex piece of software.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Mirrors don't work after indexbuffer merge
Even so, I think for mirrors the fix needs to be reviewed. It cannot use the map section info of the current viewpoint. It has to use the map section of the original viewpoint. A mirrored viewpoint can lie in an entirely different section and still produce empty content as a result.
Will check when I get back home later.
Will check when I get back home later.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Mirrors don't work after indexbuffer merge
For a plane mirror it's not really relevant because the x/y will be the same. Only for a wall mirror this is an issue.
Re: Mirrors don't work after indexbuffer merge
OK, I hope it's finally fixed in f06ee10.