cpetry / NormalMap-Online

NormalMap Generator Online
MIT License
434 stars 108 forks source link

Znorm #26

Closed erich666 closed 1 year ago

erich666 commented 1 year ago

Add the option "Z Range" that, when checked, changes the Z (blue) channel's range from the default of 0 to 1, to the range -1 to 1. This is the range used by many applications nowadays, including Unity and on the popular Learn OpenGL site.

erich666 commented 1 year ago

Some quick notes: I went with "heightOffset" and similar internally in the code. On the interface I chose "Z Range" as the description, as "Height Offset" or "Bias Height" or other variants were too long, extended vertically for two lines.

I also added to the README.md a pointer to where people can simply run the tool. I wanted to make this link more relative, vs. hardwired to your master repository (so that forks would point to their own version), but the github.io version is not created in tandem with any fork of your repo (in fact, I tried to make one for my own fork, but couldn't figure out how). Anyway, your choice, but I think it's a great thing to point out.