Create normalmap from image. Apply specular and lighting based on the generated normalmap.

See example for details on how to manage Light x,y. Specular x,y. Increasing light power creates more of a spotlight, higher specular power decreases specular.

Ported and adapted from:

shadertoy.com/view/4ss3W7

// by Nikos Papadopoulos, 4rknova / 2013

// Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Download

1.0.0.0 Stable (2.2 KB)

Info

Statistics

  • Download count285 total downloads
  • Latest download count 285 downloads of latest version
  • Average download count1 downloads per day average

Owners

  • 1 Comments

  • Order by
Want to leave a comment? Login or Register an account!