|
|
|
|
|
by ajross
5136 days ago
|
|
No need to read the texture in the vertex shader. Render to a buffer object and use that as your vertex array. But broadly yes: that's the problem with OpenGL support, and WebGL in particular is still very bleeding edge. I'd be pretty surprised if vertex texture fetch wasn't supported though. It works on basically all hardware from the PVR SGX on up. Unified shaders are pervasive on both phones and desktops. I did find this, though, which implies that for a while that the browsers weren't properly exposing support: http://stackoverflow.com/questions/4349389/webgl-texture-acc... |
|
I don't think that's an option in ES2 or WebGL. I'd love to be proven wrong!