I am somewhat confused with the following issue reading about the rendering equation and BRDFs. That is, the BRDF is usually defined as surface radiance $Lr(ω_r)$ over irradiance $L_i(ω_i)cosθ_i$ for an infinitesimal solid angle like so:
$$ fr(ωi,ωr) = \frac{dL_r(ω_r)}{L_i(ω_i)cosθ_idω_i} $$
And the integrand of the rendering equation is given by:
$$f_r(ω_i, ω_o)L_i(x,ω_i)cos(ω_i\cdot\vec{n})dω_i$$
I conclude that $cosθ_i$ = $cos(ω_i\cdot\vec{n})$ which raises the question why bothering about the cosine term at all since it cancels out anyway? There are some posts on why the brdf is radiance over irradiance (instead of radiance of radiance). This makes sense on its own to get independence of the incoming radiance direction. However, in combination with the rendering equation it gets confusing again because it seems useless.