Traverse-Research / ispc-downsampler

Image downsampler using a Lanczos filter implemented in ISPC
Other
11 stars 1 forks source link

Normal maps should not be downsampled with a Lanczos filter #49

Closed KYovchevski closed 5 months ago

KYovchevski commented 8 months ago

Normal maps behave differently from other texture and image types, and as such downsamplign them with a Lanczos filter can lead to incorrect normals being calculated. Ideally most of the existing pipeline can be expanded to allow for a different filter type to be applied.

maxded commented 5 months ago

Fixed by #48