Wendelin
Explore posts from serversTIPThe Iris Project
•Created by Wendelin on 4/11/2025 in #iris-issues
Issue with DepthColorStorage lock
What if I just unbind the current
GlProgram
before my rendering? I don't actually use minecrafts shader classes, and I don't modify any vanilla shaders or the GL state of a RenderPipeline
. If Iris' protection is just to stop mods from messing with those, and I don't intend to mess with those, maybe the better solution is for me to unbind mc's shader stuff beforehand. I'm just not sure if that's what iris intends.25 replies
TIPThe Iris Project
•Created by Wendelin on 4/11/2025 in #iris-issues
Issue with DepthColorStorage lock
Okay, thanks. I'll have a closer look tomorrow
25 replies
TIPThe Iris Project
•Created by Wendelin on 4/11/2025 in #iris-issues
Issue with DepthColorStorage lock
Just to be sure, I probably can't just enable that for some part of rendering, right? (Like for one part of the frame graph)
25 replies
TIPThe Iris Project
•Created by Wendelin on 4/11/2025 in #iris-issues
Issue with DepthColorStorage lock
I need to do unnecessary state updates anyway, because of other mods. And glColorMask etc are cheap to call from what I know. But since iris is the larger mod I'm inclined to do what you think is best.
25 replies
TIPThe Iris Project
•Created by Wendelin on 4/11/2025 in #iris-issues
Issue with DepthColorStorage lock
Hm, okay I'll consider it. But do you think saving and restoring the OpenGL state would really break stuff? The way I see it my mod should be 'invisible'.
25 replies
TIPThe Iris Project
•Created by Wendelin on 4/11/2025 in #iris-issues
Issue with DepthColorStorage lock
But there must be some tradeoff right? Otherwise it would always be on
25 replies
TIPThe Iris Project
•Created by Wendelin on 4/11/2025 in #iris-issues
Issue with DepthColorStorage lock
It has worked pretty well so far
25 replies
TIPThe Iris Project
•Created by Wendelin on 4/11/2025 in #iris-issues
Issue with DepthColorStorage lock
To ensure compatibility my mod tries to have all global state exactly as vanilla would, when my drawing is done. This really breaks it. Maybe I shouldn't use the glstatemanager, so direct OpenGL calls, and then reset it the OpenGL state to the glstatemanager state
25 replies
TIPThe Iris Project
•Created by Wendelin on 4/11/2025 in #iris-issues
Issue with DepthColorStorage lock
Does enabling this cause performance or compatibility concerns?
25 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change
Anyway, thanks for the responses! I'm happy I'm finally able to fix this issue after I forgot about it for a year 😅
33 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change
Nah,
DhApiBeforeTextureClearEvent
is fired every frame. I mistakenly assumed different. But DhApiColorDepthTextureCreatedEvent
seems fine if I delay the syncing to the next time my render code is called.33 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change
Basically I would sync up the
GlStateManager
texture binding state after every time that this even is fired. Just want to be sure that this event covers all cases when DH's depth texture is (re)created.33 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change
If I'm going to fix this DH issue in my mod, so that users can use older versions of DH without my mod breaking, then I need to fix up the GlStateManager state. Is
DhApiColorDepthTextureCreatedEvent
the correct event to do that?33 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change
I assume this will be fixed, but for backwards compatability, would you say
DhApiColorDepthTextureCreatedEvent
is the correct event to fix the GlStateManager state?33 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change

33 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change
Rights so
DhApiBeforeTextureClearEvent
is not what I thought it was. DhApiColorDepthTextureCreatedEvent
is maybe the right one.33 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change
Nevermind, that had a different cause.
33 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change
Something fishy is going on. Simply subscribing to
DhApiBeforeTextureClearEvent
makes the issue go away (it's also never called?). I guess I need to dig deeper.33 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change
I'm on the latest version (1.21.5) of DH btw
33 replies
DHDistant Horizons
•Created by Wendelin on 2/25/2024 in #bug-report
DH API does not notify of texture change
Also, why don't people ever report such bugs. This has been an issue with Better Clouds and DH since over a year, and I only just found out about it because I used both together myself. 😭
33 replies