We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi all, Just learning shaders. Is it possible to deform a .obj file using a shader (like it is being sucked into a blackhole).
Would this be in the vertex shader?
Thanks.
Answers
yes sure
pseudocode
in attribute positions
uniform float time
gl_FragCoord = position.x+sin(time) // here we go!