How do I get blockEntityId in final.fsh?
I want to render some block slightly different in my shader. I under stand that im supposed to be able to get blockEntityId in a buffer, but I have been unsuccessful so far.
Solution:Jump to solution
solution,
I needed to define draw buffers like this
/* DRAWBUFFERS:01 */
I pass the mc_Entity from vsh, to fsh using a varying float.
...4 Replies
I highly recommend joining the shaderLABS Discord server for all questions regarding shader development. That server is specialized in Minecraft shader development.
https://discord.gg/RpzWN9S
tank you, but whats this server for then? I was in the documentation and pressed the discord link there to get help.
This server is mainly for the average user, not shader developers
shaderLABS has more resources and people to help you develop and troubleshoot a shader
Solution
solution,
I needed to define draw buffers like this
/* DRAWBUFFERS:01 */
I pass the mc_Entity from vsh, to fsh using a varying float.
and i write to buffer like this