Using Iris API, how can I detect if a shader is using anti aliasing at the moment?
okay, so i've taken replaymod inspired mixins to develop a program that replaces the skybox with a green color for my mod
https://github.com/ReplayMod/ReplayMod/blob/develop/src/main/java/com/replaymod/render/mixin/Mixin_ChromaKeyColorSky.java inspired by replay-mod's code you can see what they do here
i essentially do the same, but for some reason whenever i turn on shaders in oculus, it doesn't work
it just renders the shader sky.
with shaders off it works.
would you know how to help me hook correctly or see how to fix it?
GitHub
ReplayMod/src/main/java/com/replaymod/render/mixin/Mixin_ChromaKeyC...
Minecraft ReplayMod. Contribute to ReplayMod/ReplayMod development by creating an account on GitHub.
9 Replies
Shaders sometimes render their sky as a post processing effect
In which case you’d need to edit the shader
no way i can fix this in code?
okay then, is there a way i can temporarily disable shaders for a short period of time in code?
and turn on when im done
Im gonna try your config api: https://github.com/Asek3/Oculus/blob/1.20/src/main/java/net/irisshaders/iris/api/v0/IrisApiConfig.java#L21
GitHub
Oculus/src/main/java/net/irisshaders/iris/api/v0/IrisApiConfig.java...
Contribute to Asek3/Oculus development by creating an account on GitHub.
how do i setup your api in my mod project?
This is not Iris
We don’t provide oculus support in this server
the api code is the same
anyway i figured it out
using Iris API, how can I detect if a shader is using anti aliasing at the moment?
cant
each shader has their own
is there a mod, like optifine, that has render quality option for screenshots which an upscale resolution of screenshots with iris shaders enabled?
if so i'd like to view the code to do so
resolution control+
oh screenshots only?
Fabrishot