Fast-64 / fast64

Blender based editor for scenes, meshes, and more in first-party N64 games
GNU General Public License v3.0
316 stars 74 forks source link

[F3D] Show tlut othermode in materials and world defaults #385

Closed Lilaa3 closed 3 months ago

Lilaa3 commented 4 months ago

The mode is still automatically set when using CI textures, however the default can now be changed and it hides what's happening under the hood just a bit less, I also removed some code from f3d_bleed, specifically I removed reset_command_dict (unused) and DPSetTextureLUT from the cmd list in add_reset_cmd because it is always set by SPSetOtherMode like other othermodes. image image

jesusyoshi54 commented 4 months ago

If your texture is not set, then you should be able to set the value of the TextureLUT property. This would make it so that the TextureLUT property is properly reverted to normal in the case where a texture is loaded via some function node. This should also fix the bug where unset textures would get defaulted to G_TT_NONE while using the mat write method write_all (bleed and DL exporter option) or if you set the default to use LUT and had the unset texture apply G_TT_NONE