The GI works well using a SpatialMaterial (with albedo, emissive and roughness textures, nothing special). When I convert that same material into ShaderMaterial without touching the shader code, the GI no longer affects the material.
Edit: The same material is also the only source of indirect light (the emissive parts), so it could be that the emission is not affecting GI.