X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=utils%2FModeller%2Fnormalmap.cxx;h=78daec4ba003a6815e44bd16343edf11a6c28b90;hb=1d097cc57586eedab7b16d6c77f17009615457e3;hp=80d1fe4d6fdb44c460c21ee93669b62f97239fa9;hpb=8caa0fe5077064627c358643506bd3c1009598b5;p=flightgear.git diff --git a/utils/Modeller/normalmap.cxx b/utils/Modeller/normalmap.cxx index 80d1fe4d6..78daec4ba 100644 --- a/utils/Modeller/normalmap.cxx +++ b/utils/Modeller/normalmap.cxx @@ -4,10 +4,13 @@ * * This file is in public domain. */ +#include #include -#include -#include +#include +#include + +#include "texture.hxx" static float contrast = 1.0; @@ -92,7 +95,7 @@ int main (int argc, char **argv) memcpy(normalmap_file+i, "_n.rgb\0", 7); } - texture.make_normalmap(); + texture.make_normalmap(brightness, contrast); texture.write_texture(normalmap_file); free( normalmap_file );