1
0
Fork 0

Add support for contrast.

This commit is contained in:
ehofman 2005-01-14 15:53:13 +00:00
parent 8caa0fe507
commit b912026694

View file

@ -6,6 +6,7 @@
*/ */
#include <string.h> #include <string.h>
#include <stdlib.h>
#include <GL/gl.h> #include <GL/gl.h>
#include <simgear/screen/texture.hxx> #include <simgear/screen/texture.hxx>
@ -92,7 +93,7 @@ int main (int argc, char **argv)
memcpy(normalmap_file+i, "_n.rgb\0", 7); memcpy(normalmap_file+i, "_n.rgb\0", 7);
} }
texture.make_normalmap(); texture.make_normalmap(brightness, contrast);
texture.write_texture(normalmap_file); texture.write_texture(normalmap_file);
free( normalmap_file ); free( normalmap_file );