Ceiling brick texture is distorted
You UV map is distorted.
Simply unwrap your roof again and it will work.

Apply scale and rotation of your roof (Object &gt; Apply &gt; Rotation &amp; Scale)
Go UV &gt; Smart UV Project &gt; Conformal
Use Mapping node to scale and rotate the texture