Modern materialism (since the 17th century) defines the material world by that which is quantifiable and hence measurable. Consciousness is not wholly characterised by what we can measure. Therefore, if one believes that consciousness exists, then necessarily materialism is false.
This widespread notion that whatever affects the material world is itself material fails to understand what both materialism and dualism means.