Marvin (always ping)
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
it works now
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
this does not render with iris shaders active, but does without
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
this code does render it (wrong vertex position because it is missing the transformation) but still, renders. but it is extremly slow because i create the mesh every frame and upload it to gpu.
in my above code i use almost exactly the same logic like the below code uses (I looked at the decompiled code) and the only big difference is that i store the data in a vertexbuffer now.
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
thank you
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
@IMS pls help me
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
https://www.youtube.com/watch?v=HRoTLI7ZUdI
this is what my mod does if it helps to figure out an answer
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
and there can be a lot of blockentities
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
this improves render time for the blockentity from 0.1-0.4ms to <0.005ms
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
so I place them as uniform in the shader
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
because i pre-compute the mesh i can not bake in the lightmap coordinates because it would not change in the daycycle
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
for optimization i pre-compute the mesh and only change the light dynamically
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
the ones you get in the BlockEntity render method
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
so what should i do?
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
to have lightmap coords as uniforms
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
no, it is a slightly modified RENDERTYPE_ENTITY_TRANSLUCENT_SHADER copied from the minecraft shaders
26 replies
TIPThe Iris Project
•Created by Marvin (always ping) on 12/1/2024 in #iris-issues
Iris with shader enabled breaks BlockEntity rendering
26 replies