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] Pass in shade alpha into fog blender instead of disabling it when fog is off #399

Closed Lilaa3 closed 3 months ago

Lilaa3 commented 3 months ago

Fixes preview of fogshade with no fog geo mode enabled image image

Lilaa3 commented 3 months ago

To show the change a bit better, here are 4 materials, one with fog and a fog blender, fog with no fog in the blender, no fog but fog in the blender and neither Main: image PR: image Here is the test file, it's in 3.2, upgrade materials in main or in this pr to see how they differ in behavior

jesusyoshi54 commented 3 months ago

image if you swap global fog it doesn't update the links properly

Lilaa3 commented 3 months ago

@jesusyoshi54 Issue has been fixed, also added two comments