Reputation: 6710
Is there a way to get gl_Position
value or the value of a varying
variable with getBufferSubData
(or something similar) after drawArrays
?
Upvotes: 0
Views: 111
Reputation: 8153
With WebGL1 there's no generic way to get the output of a vertex shader, however with WebGL2 you can use transform feedback.
Upvotes: 1