an Item
an Item
TIPThe Iris Project
Created by an Item on 10/13/2024 in #iris-issues
How do I get blockEntityId in final.fsh?
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
//Output the result.
gl_FragData[0] = col;
gl_FragData[1] = vec4(mcEntity-1,0,0,0);
//Output the result.
gl_FragData[0] = col;
gl_FragData[1] = vec4(mcEntity-1,0,0,0);
9 replies
TIPThe Iris Project
Created by an Item on 10/13/2024 in #iris-issues
How do I get blockEntityId in final.fsh?
tank you, but whats this server for then? I was in the documentation and pressed the discord link there to get help.
9 replies