How does Iris handle End Gateway/Portal rendering with shaders?
I'm trying to render an end gateway block but I'm having trouble with it when I enable shaders:
I'm trying to understand how Iris renders them with shaders but I can't seem to find where to start:
https://github.com/IrisShaders/Iris/blob/f0f6a27453d44a18e1c655880dca0baf2de03c9a/src/main/java/net/coderbot/iris/mixin/MixinGameRenderer.java#L403
Code:
GitHub
Iris/src/main/java/net/coderbot/iris/mixin/MixinGameRenderer.java a...
A modern shaders mod for Minecraft compatible with existing OptiFine shader packs - IrisShaders/Iris
7 Replies
IrisShaders/Iris (on f0f6a27453d44a18e1c655880dca0baf2de03c9a)
src/main/java/net/coderbot/iris/mixin/MixinGameRenderer.java
Could be wrong but I think shaders themselves handle that rendering
Iris just passes in general data and such
ok, thanks I'll try asking BSL guys too about it
the guy could only point me to the shader code...
slr, what does that mean exactly? does it let the .glsl shader code overwrite it or something?
ok I've done some digging I found the mixin for the end portal renderer:https://github.com/IrisShaders/Iris/blob/f0f6a27453d44a18e1c655880dca0baf2de03c9a/src/main/java/net/coderbot/iris/mixin/MixinTheEndPortalRenderer.java#L22
GitHub
Iris/src/main/java/net/coderbot/iris/mixin/MixinTheEndPortalRendere...
A modern shaders mod for Minecraft compatible with existing OptiFine shader packs - IrisShaders/Iris
IrisShaders/Iris (on f0f6a27453d44a18e1c655880dca0baf2de03c9a)
src/main/java/net/coderbot/iris/mixin/MixinTheEndPortalRenderer.java
the thing is the shader is just scrolling the end_portal.png file...
I'm guessing this is just the default behavior when the actual shader isn't applied...
the thing is why isn't it getting applied... does it count as a "custom shader" if I render endPortalBER through another BER?:
https://github.com/IrisShaders/Iris/blob/1.16.5/docs/development/compatibility/core-shaders.md
GitHub
Iris/docs/development/compatibility/core-shaders.md at 1.16.5 · Iri...
A modern shaders mod for Minecraft compatible with existing OptiFine shader packs - IrisShaders/Iris