def METHOD_NAME(variant_scalar_rgb):
    # Brewster's angle
    angle = dr.cos(56.3099 * dr.pi / 180)
    a_s, a_p, cos_theta_t, _, scale = mi.fresnel_polarized(angle, 1.5)
    assert dr.allclose(dr.real(a_s*a_s), 0.3846150939598947**2)
    assert dr.allclose(dr.real(a_p*a_p), 0)