I've been messing around in Photoshop trying to re-create this nice effect. Does anyone know how to achieve a straight shadow like this?
250(this is the max Photoshop will allow)
L) and, holding down
Shift, draw a selection box from the bottom-left of your icon to the bottom-right of your artboard, at 45 degrees, connecting back up to the top-right of your ocon, also at 45 degrees. There must be an easier way to do this – I'll edit this answer when I figure it out.
Add a maskto mask the shadow.
Alternatively, download one of these Photoshop plugins:
I reckon that's cheating though – the best thing about Photoshop is seeing something you like and figuring out how to do it yourself!