X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=utils%2FModeller%2Fnormalmap.cxx;h=f5babb13d5161d40bab7fc79e9cfc24e0d71f766;hb=7ccdc1081a0196db55472fb35c4ad9a944fcce16;hp=80d1fe4d6fdb44c460c21ee93669b62f97239fa9;hpb=8caa0fe5077064627c358643506bd3c1009598b5;p=flightgear.git diff --git a/utils/Modeller/normalmap.cxx b/utils/Modeller/normalmap.cxx index 80d1fe4d6..f5babb13d 100644 --- a/utils/Modeller/normalmap.cxx +++ b/utils/Modeller/normalmap.cxx @@ -4,9 +4,12 @@ * * This file is in public domain. */ +#include #include -#include +#include +#include SG_GL_H + #include @@ -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 );