Closed Lilaa3 closed 3 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
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.