Get pixel values and displace the vertex?

I want to write GLSL shaders that use the pixel values of the image as magnitude in order to displace the vertices of an object in the direction of the surface normal. Incorporate a point light and demonstrate the result.

Answers

Sign In or Register to comment.