$detail texture not working with $envmap texture?

Okay so i have a detail texture and an envmap texture but in the game, with a $detail texture applied, the envmap doesn't show up.
Am i correct in thinking that the $detail takes precedence over the envmap and that i need to "black" some of the detail texture out for the envmap to show through?
Am i correct in thinking that the $detail takes precedence over the envmap and that i need to "black" some of the detail texture out for the envmap to show through?