X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=utils%2FModeller%2Fnormalmap.cxx;h=98c3a848840fdb9bd7010b2eb087e7b2afce355a;hb=030742fa4ae7d99facb517381da71fa404c4ee2b;hp=80d1fe4d6fdb44c460c21ee93669b62f97239fa9;hpb=8caa0fe5077064627c358643506bd3c1009598b5;p=flightgear.git diff --git a/utils/Modeller/normalmap.cxx b/utils/Modeller/normalmap.cxx index 80d1fe4d6..98c3a8488 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 + #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 );