render.DrawBox colour

Tried using render.DrawBox today.

Set the colour, but not matter what I did it always resulted in:

Middle panel:
render.SetMaterial( HUD.MATS.WHITE )
render.DrawBox( pos, Angle( 0, ply:EyeAngles().y + 90, 0 ), Vector(-hplen/2,-1,-1), Vector( hplen/2, 1, 1), Color(255,0,0), false)

Is there another method to set the colour?


Does your material allow coloring?

I tried shiny and debugwhite, didn’t work for those.