I'm having issues keeping my shadows consistent across different resolutions using the following:
drawingContext.shadowOffsetY = 0;
drawingContext.shadowBlur = w(0.01);
drawingContext.shadowColor = 'black';
where
function w(val) {if (val == null) return width;return width * val;}
defines the relative size .
Any tips on how to keep tie the size of the shadow to the resolution?
Thanks