@CarlG Thanks for your reply. My workaround works with noise but doesn’t work with a brick texture indeed, I assume it’s because the noise is 3D. And so these are not good methods.
I found a solution here : Box mapping for procedural brick texture in cycles
I’m beginning in Blender and might miss some things, but it’s weird to have to put that much effort for doing triplanar or box mapping.