title: Three.js - get image dimensions and pass to fragment shader
body: <p>I'm sending a bitmap as a uniform to a fragment shader with THREE.ImageUtils.loadTexture(). What's the simplest way for the fragment shader to access the size of the image in pixels?</p>