Is there any technique to make a cube-shaped point light?

Is there any technique to make a cube-shaped point light? just like a 3D cube object that has 0% transparency and shading the light in the cube-shaped area only.

Use a standard Directional realtime light and set a square shaped Cookie to it. Set the cookie texture’s Wrap Mode to Clamp, so it does not repeat.