Search Unity

Question CommandBuffer.DrawMeshInstancingIndirect cant receive shadows

Discussion in 'General Graphics' started by wechat_os_Qy00ZsXVumo1o8syrISdbhhOI, Jul 15, 2022.

?

CommandBuffer.DrawMeshInstancingIndirect cant receive shadows

  1. ..

    1 vote(s)
    100.0%
  2. ..

    0 vote(s)
    0.0%
Multiple votes are allowed.
  1. wechat_os_Qy00ZsXVumo1o8syrISdbhhOI

    wechat_os_Qy00ZsXVumo1o8syrISdbhhOI

    Joined:
    Apr 6, 2020
    Posts:
    3
    i use commandbuffer.drawmeshinstanceindirect to render my grass(by a custome shader)
    the coomandbuffer is added after the fowrard opaque. the shadowcoord is correct,but the material does not receive the shadow map(sample shadowmap get a white color)
    TvT
    Can someone help me?