mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #93931 from /fix-compatibility-depth_prepass_alpha
This commit is contained in:
commit
6621d8e8cc
1 changed files with 1 additions and 1 deletions
|
@ -1420,7 +1420,7 @@ void RasterizerSceneGLES3::_fill_render_list(RenderListType p_render_list, const
|
|||
#else
|
||||
bool force_alpha = false;
|
||||
#endif
|
||||
if (!force_alpha && (surf->flags & GeometryInstanceSurface::FLAG_PASS_OPAQUE)) {
|
||||
if (!force_alpha && (surf->flags & (GeometryInstanceSurface::FLAG_PASS_DEPTH | GeometryInstanceSurface::FLAG_PASS_OPAQUE))) {
|
||||
rl->add_element(surf);
|
||||
}
|
||||
if (force_alpha || (surf->flags & GeometryInstanceSurface::FLAG_PASS_ALPHA)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue