Slideshow Mod compatibility issue in Iris 1.6.1
After 1.6.1 update has been released, there have been compatibility issues with the slideshow mod. Screenshots soon
41 Replies
1.6.1
1.6
one shader named Photon even crashes when theres a slideshow image nearby
yeah
the slideshow mod needs to implement BlendingStateHolder
I can implement a small workaround, but it won’t be good
ill notify the mod maker then
another solution is to make their render type extend
CompositeRenderType
instead of RenderType
@IMS Former SlideShow dev here. I learnt this report through other channel and would like to know more about this. Specifically the
BlendingStateHolder
part, because I couldn't find it anywhere.
(A remark: op is using a fork of SlideShow which ports SlideShow from Forge to Fabric. I am the former dev of the original one which is Forge only for now; still, I believe fixing it on upstream is worth it.)BlendingStateHolder is an interface that tells Iris what stage of translucency an render type renders in
Iris uses this for batched entity rendering to properly sort objects so they’re not invisible
compositerendertype has a default implementation of this, but rendertype does not
Interesting, but where is this interface (?) located at?
Vanilla? Iris itself? Somewhere else?
Iris
Now this is strange
weird
it’s in net.coderbot.batchedentityrendering.impl
iirc
Found it, so it's GitHub search index broke
And we have
CompositeRenderType
implemented it via Mixin, got it
Thank you for your heads-up!Umm isn't
CompositeRenderType
final?We use an access widener but yes
annoyingly
Oh I see that in the access widener config
Thanks; have to also do that then
It was originally necessary to execute specific code after , but because this part was written into the constructor of "CompositeRenderType", these specific codes could not be executed in the original position, resulting in an exception , what is the solution
hm
let me see
GitHub
Slideshow/SlideRenderType.java at master · AIDA64S/Slideshow
A simple slideshow projector in Minecraft. Contribute to AIDA64S/Slideshow development by creating an account on GitHub.
I'll just edit Iris to not care
This is the original code when inheriting RenderType
I really can't think of any good way, it seems that I need to execute
so yeah
your best option is shadowing this part of Iris specifically and implementing the interface
but if you don't want to do that I have a temporary fix
when Iris 1.6.2 releases, it won't crash anymore, but it'll still look wrong
Means to have IRIS as a dependency?
you could do that
you don't need to do anything until 1.6.2 releases
roger that
hoping this will be updated for 1.19.2 too right
currently iris fork is in 1.19.2 only + the server im playing on is 1.19.2 only too
I have updated Iris to 1.6.2, but this issue still exists
Normal when viewed from left to right, brightness is no longer valid when viewed from right to left, starting from version 1.6.0
..
I still don't know how to solve it
@AIDA64S(Infrastructure Giant) probably
u tried it right?
Perhaps it's because I don't know how to do it
I have attempted to inherit CompositeRenderType
After inheriting from CompositeRenderType, There is no place to call them
It seems that when the constructor is called, the last two parameters each create new threads to execute certain commands. However, due to the fact that the CompositeRenderType constructor has already implemented these two Runnable interfaces through Lambda, it is not possible to add new commands to these two functions
Perhaps it is more effective to seek help from the original author, as it is only a simple transplant
@3TUSK
By the way, it seems that some people have reported that it is normal in 1.18.2
bump so discord doesnt hide the channel for me
@IMS Sorry for the ping.
I've carried out the suggested steps. I got rid of inheriting RenderType, and just instantiates a vanilla CompositeRenderType instead.
However, the rendering output is still erratic when using shaders.
It'd be a honor if you could shine some light on this matter qwq
The normals passed into VertexConsumer are correct and it works fine in vanilla