renderState uniform issue

The renderState uniform seems to not return any value in IRIS 1.8.0-beta.8.
void main() {
// Debug renderStage value
if (renderStage == MC_RENDER_STAGE_OUTLINE) {
scene_color.rgb = vec3(1.0, 0.0, 0.0); // Red for outline
} else {
scene_color.rgb = vec3(0.0, 1.0, 0.0); // Green for non-outline
}
scene_color.a = 1.0;
}
void main() {
// Debug renderStage value
if (renderStage == MC_RENDER_STAGE_OUTLINE) {
scene_color.rgb = vec3(1.0, 0.0, 0.0); // Red for outline
} else {
scene_color.rgb = vec3(0.0, 1.0, 0.0); // Green for non-outline
}
scene_color.a = 1.0;
}
As you can see in the screenshot, both the block outline and the fishing rod line appear green.
No description
3 Replies
samalando (ping on please)
https://discord.gg/RpzWN9S ask here for shader development stuff
hardester
hardester2w ago
Bug seems like an issue with Iris, so I'm going to ping @IMS for input.
Yusarnn
YusarnnOP15h ago
Hi, I confirm this issue still persists in 1.8 release from today
Want results from more Discord servers?
Add your server