Skip to content

Standard material have strange behavior with next pass materials #83774

Open
@atirut-w

Description

Godot version

v4.1.1.stable.official [bd6af8e]

System information

Godot v4.1.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 27.20.21034.37) - AMD Ryzen 7 5700X 8-Core Processor (16 Threads)

Issue description

If you set up a new material and its next pass, enabling these options will cause the first material to ignore the next pass:

  • Emission
  • Normal map
  • Rim
  • Clearcoat
  • & many more

Even more strange, if I reopen the project, the behavior will change, sometimes always drawing over the next pass.

Steps to reproduce

  1. Set up a mesh with a material with a non-default color.
  2. Set up the material's next pass.
  3. On the first material, enable any of the aforementioned option.

Minimal reproduction project

np.zip

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions