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;
}


As you can see in the screenshot, both the block outline and the fishing rod line appear green.
image.png
Was this page helpful?