Closed GoogleCodeExporter closed 8 years ago
addSample assumes that the normal has been decompressed and is encoded as a RGB
color. Decompression happens in loadImage. The DirectDrawSurface will detect
normal
maps if the file was saved with the normal map flag. If the normal map flag was
not
set, you can set it explicitly. See for example line 144 of decompress.cpp.
Closing as invalid.
Original comment by cast...@gmail.com
on 18 Mar 2009 at 6:05
Original issue reported on code.google.com by
marcoalt...@gmail.com
on 11 Mar 2009 at 3:02