Author Topic: Heightmap Normal Computing  (Read 779 times)



0 Members and 1 Guest are viewing this topic.

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1554
    • View Profile
    • Geeks3D.com
Heightmap Normal Computing
« 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.