Luctaris / blender-import-glr

Addon which adds glr import support to Blender, the free 3D modelling suite.
12 stars 2 forks source link

Use 0.0 for LOD fraction #10

Closed scurest closed 4 months ago

scurest commented 7 months ago

This fixes the ground in the first level of Banjo-Kazooie.

The ground uses the LOD Fraction input to blend between two mipmaps

LodCompare

Currently the LOD fraction is unimplemented, so it was using the cyan color all unimplemented colors use, resulting in the orangish hue shift. This patch still doesn't implement LOD, but just changes the value to scalar 0.0, in the hopes this will be a better fallback.

scurest commented 4 months ago

Closing. An identical fix is in my main branch, but through a different commit (https://github.com/scurest/blender-import-glr/commit/2949237aecd18fe4d816d95c1cf0ab4a7f9ce70e) so there's no point in merging this one.