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
IMS
IMS13mo ago
Shaders sometimes render their sky as a post processing effect In which case you’d need to edit the shader
retrooper
retrooperOP13mo ago
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
retrooper
retrooperOP13mo ago
how do i setup your api in my mod project?
Slooshie
Slooshie13mo ago
This is not Iris We don’t provide oculus support in this server
retrooper
retrooperOP13mo ago
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?
IMS
IMS13mo ago
cant each shader has their own
retrooper
retrooperOP13mo ago
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
IMS
IMS13mo ago
resolution control+ oh screenshots only? Fabrishot
Want results from more Discord servers?
Add your server