Marank07 / gimp-dds

Automatically exported from code.google.com/p/gimp-dds
Other
1 stars 0 forks source link

normalization function #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I double-checked the normal map handling and I think something might be off.

https://code.google.com/p/gimp-dds/source/browse/trunk/dxt.c#1296

d should be 1.0 - nx^2 - ny^2 and z should not be modified afterwards.

https://code.google.com/p/gimp-dds/source/browse/trunk/dxt.c#1314

I think the second check should be BC1 not BC5, according to the indexes used.

Original issue reported on code.google.com by vittorio...@gmail.com on 24 May 2015 at 12:40