Skip to content

Material with opaque prepass enabled, even little alpha, appears invisible if no other object is behind. #36669

Closed
@unSkind

Description

Godot version:
3.2 stable

EDIT: tested with 3.2.1 RC1 and the problem is present too

OS/device including version:
Windows 10 1903

Issue description:
Material with opaque prepass enabled, even little alpha, appears invisible if no other object is behind. Tested on 3.1, the issue is not present.

I tried to create leaves for trees and, if no other object is behind I see them invisible.
immagine

in 3.1 the issue is not present (same project)
immagine

Steps to reproduce:
create a quad with material with alpha texture, enable opaque prepass, enable alpha scissor (additionaly decrease the alpha channel of albedo color to 255 -> 252) and see the object become completely transparent.

immagine

Minimal reproduction project:
IssueOpaquePrepass.zip

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions