Closed httpedor closed 4 months ago
vanilla has that uniform. but it is not passed to this shader. it is passed to other core shaders. but not mine. (hence the need to pass it via mixin)
and yea... I sadly have no clue where to start with this...
While I was researching how other mods did this, I found this if it helps https://github.com/anthxnymc/CustomSkyboxes/blob/master/src/main/java/vice/customskyboxes/mixin/skybox/SkyboxRenderMixin.java
Iris doesn't really like the
ctx.worldRenderer().renderLayer
call. It also didn't like theWorldRendererMixin
, but I'm almost sure that vanilla has a "ScreenSize" uniform so that shouldn't be too hard to fix. Also happy to report that the mod works great with the Sinytra Connector mod on forge.