Heightmap Normal Computing

Started by JeGX, April 24, 2018, 02:02:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JeGX

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.