bug: opening a disk just shows me the blur instead of a gui
TeamDman opened this issue · 3 comments
This is caused by neoforged/NeoForge#1504
This is caused by neoforged/NeoForge#1400
XFactHD — 09/05/2024 3:41 PM
You are effectively rendering the blurred background twice, once through the this.renderBackground() call and once through the super.render() call. Either that or the z-axis scaling might be the cause. My suggestion would be to replace the renderAfterScale() call with a super.render() call in render() and doing your scaled rendering in renderBackground() after a super call and remove the super.renderCall() from the code that's currently in renderAfterScale(). Additionally, I would recommend removing the z-axis scaling (i.e. set it to 1)
link
looks like this was changed between 1.20.1 and 1.20.2
I don't think the drawing of the background twice would be a culprit given the other neoforged issues indicating z-clipping being the problem, but I won't rule it out until I test it.
Agreed that SFM shouldn't call the renderBackground twice, will see what it takes to make the version difference transparent between branches.
The true fix is neoforged/NeoForge#1555 getting merged, until then will see if I can make it work