nevermind, figured it out - regular textures aren't really good at saving arbitrary float data. I'm using a buffer texture now. Also - position.length() should have been length(position)
Type: Posts; User: linedot
nevermind, figured it out - regular textures aren't really good at saving arbitrary float data. I'm using a buffer texture now. Also - position.length() should have been length(position)
Hi!
I'm having trouble making sense of an issue I have.
I'm trying to store vertex positions in a texture and pass indices to the shader in the vbo.
Now texelFetch returns complete garbage,...