{"issue":{"created_at":"2011-11-27T20:13:51Z","state":"open","updated_at":"2011-11-29T17:05:47Z","user":{"gravatar_id":"a1ae27f4bb003892a8394a4656132713","id":565791,"url":"https://api.github.com/users/prutsdomj","login":"prutsdomj","avatar_url":"https://secure.gravatar.com/avatar/a1ae27f4bb003892a8394a4656132713?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":4,"body":"I have a javascript array of floats. How do I turn that into a texture (THREE.Texture) such that I can pass it into the shader? \r\n\r\nThank you.","assignee":null,"id":2361809,"labels":[{"name":"Question","color":"dad9ff","url":"https://api.github.com/repos/mrdoob/three.js/labels/Question"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":804,"title":"Array to Texture?","closed_at":null,"html_url":"https://github.com/mrdoob/three.js/issues/804","url":"https://api.github.com/repos/mrdoob/three.js/issues/804","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T17:05:47Z","updated_at":"2011-11-29T17:05:47Z","user":{"gravatar_id":"a00211a1e1aa4fe920302e7b76da0d91","id":97088,"url":"https://api.github.com/users/mrdoob","login":"mrdoob","avatar_url":"https://secure.gravatar.com/avatar/a00211a1e1aa4fe920302e7b76da0d91?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"But maybe [DataTexture](https://github.com/mrdoob/three.js/blob/master/src/textures/DataTexture.js) is what you're after.","id":2935972,"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/2935972"}}