Turn screen black behind window

I can create a window, but I’d like the screen to be black behind it.
I have Panel:SetBackgroundBlur( true ), and it makes the background fade, but not entirely black.

What would be the best way to do this?

I was thinking maybe to use http://wiki.garrysmod.com/?title=DPanel and just set the color to black, but that doesn’t seem like the best way

Try [lua]Panel:SetBackgroundBlur( true )[/lua]
Also if you don’t like that, make a new DPanel that is as tall as the screen and as wide, then use paint functions to make it completely black, then open up the other derma on top

Oops, I have that (that’s what I meant to put, not makepopup), and you described what I also said would work

I would like to know how BluePrint 2 and PERP2 make it so when you first join it is completely black!

[editline]24th October 2010[/editline]

It looks almost like they are doing what me and you described

I’m just going to use the panel way unless anyone suggests something better
Also, I’ve never played PERP. It looks from that they’re doing some really fancy intro with music (I’ve used the gm_bass module before)

Their intro just plays some music, and fades in and out etc

surface.DrawRect with the black colour.

huh, never even thought about that