Page MenuHome

EEVEE Alpha Clip shadows actually using Alpha Hashed shadows
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Microsoft Windows 10 Pro
Graphics card: Nvidia GeForce GTX 1050
Processor: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz, 3301 Mhz, 4 Core(s), 4 Logical Processor(s)

Blender Version
Broken: blender-2.91.0-42f6aada98a6-windows64
Broken: 2.90.1
Worked: 2.83.8

Short description of error
When a material's blending mode is set to Alpha Blend, Hashed, or Opaque, and setting the shadow mode to Alpha Clip, the shadow map does not use Alpha Clip and seems to use Alpha Hashed instead. Setting the shadow mode to anything else works fine. None of the parameters do anything, changing the clip threshold does nothing, turning on Backface Culling does nothing, I can't find any way to fix it.

Exact steps for others to reproduce the error


Open blend file
Set mode to rendered view
Notice how the shadows look hashed, even though the shadow mode is clearly set to Alpha Clip.

Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Nov 4 2020, 9:31 AM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".

Confirmed, will check.

Philipp Oeser (lichtwerk) triaged this task as High priority.Nov 4 2020, 10:20 AM

Caused by rBb18c2a3c413b: EEVEE: Refactor of eevee_material.c

Apparently, clip is now "emulated", see the commit message:

Change BLEND_CLIP to be emulated by gpu nodetree. Making less shader variations

But apparently this is not working as expected @Clément Foucault (fclem)