Geeks3D Forums

GeeXLab => GeeXLab - english forum => Topic started by: JeGX on April 24, 2018, 02:02:47 PM

Title: Heightmap Normal Computing
Post by: JeGX on April 24, 2018, 02:02:47 PM
How to compute the normal vector of a heightmap y=f(x, z)?

http://www.geeks3d.com/hacklab/20180424/demo-heightmap-normal-computing/

The demo is available for OpenGL 3.2 capable graphics hardware. This demo can be easily converted to OpenGL 2.1 or OpenGL ES is necessary.

(http://www.geeks3d.com/public/jegx/2018q2/geexlab-heightmap-normal-computing-demo-01.jpg)