fake3d website based on WebGL
I built my own website with this fake 3D image effect with webGL.
The original webGL source code
Home site code:
HTML
Remember link the app.js file at the end of body.
The div named gl is the position with webGL. You should have two images:original picture and map one.
How to edit the image in Photoshop?
Open PS Go to image-->adjustment-->gradient map...
You can select black/white mode or custom the gradient color,I picked grey here.
And here we have two pbackground images here.
Next , conclude the webGL files.lib and shades
And the motion effect will work.