Zergatul
TIPThe Iris Project
•Created by Zergatul on 1/6/2024 in #iris-issues
Drawing lines on the screen on WorldRenderEvents.LAST
it works perfectly, thanks again!
13 replies
TIPThe Iris Project
•Created by Zergatul on 1/6/2024 in #iris-issues
Drawing lines on the screen on WorldRenderEvents.LAST
thanks, I will try that
13 replies
TIPThe Iris Project
•Created by Zergatul on 1/6/2024 in #iris-issues
Drawing lines on the screen on WorldRenderEvents.LAST
thanks for the reply!
shaders do not render to the main framebuffer ever, but rather to arbritary color textures with their own informationI am not switching framebuffers, does this mean I still draw to the wrong framebuffer while doing some draw calls from WorldRenderEvents.LAST?
you'd need to do it at the very end of renderLevelInitially I was working with my own mixins to achieve effect of WorldRenderEvents.LAST event (because my mod is for both forge/fabric) but then ppl started complaining that my mod doesn't work with sodium I noticed my mixin into
LevelRenderer.renderLevel
doesn't get hit (I suppose because of sodium overwrites this method or something like this)
Then I switched to WorldRenderEvents.LAST, which is somehow is getting triggered by sodium
What would be the best way to draw something at the very end of renderLevel? Should I still switch to correct framebuffer here?13 replies