Material with opaque prepass enabled, even little alpha, appears invisible if no other object is behind. #36669
Closed
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.
in 3.1 the issue is not present (same project)
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.
Minimal reproduction project:
IssueOpaquePrepass.zip