I do not accept that consciousness is purely a result of the material brain. If that were true, I don't see how any of us have free will. We are being driven purely by particles bouncing around in our brains as we react to the world.
The feeling that we have free will is not incompatible with materialism, and even pure determinism. All it takes is not having complete knowledge of the complexities that underlie our behaviour.
For example, we examine and evaluate options, weigh up the pros and cons, make decisions, and take actions based on our preferences, desires, morals, needs, opinions, how we feel at the time, and so-on. Many people would say that if you can do this without feeling coerced or constrained, you're exercising free will.
However, there's a good argument to be made that those motivations are themselves determined by prior events in a complex way, by the interaction between our genetic inheritance with our life experiences as we grow and learn, each of us becoming unique personalities as a result.
Our universe doesn't seem to be purely deterministic, due to quantum randomness (although there are fully deterministic interpretations), but at everyday scales, stochastic quantum behaviour 'averages out' to what some philosophers call 'effective determinism' - determinism for macro-scale intents and purposes. This doesn't mean predictability - chaos (non-linear dynamics) and complexity see to that, but predictability isn't a requirement of determinism.
So I would suggest that the subjective experience of free will described above is quite compatible with deterministic materialism.
If you have a different concept of free will that is distinguishable, in practice, from what I described, and an example that illustrates the distinction, I'd be interested to hear it.