Search Unity

Question DrawMesh don't cast Reflection Probes just only Reflection environment

Discussion in 'General Graphics' started by Nanon413, Oct 11, 2022.

  1. Nanon413

    Nanon413

    Joined:
    Apr 5, 2016
    Posts:
    7
    Hi,

    im creating a drawmesh for my scene with this line

    Code (CSharp):
    1. Graphics.DrawMesh(Mesh, matrix, Material, 0, null, advancedSettings.subMaterialIndex,null,UnityEngine.Rendering.ShadowCastingMode.On,true);
    but the created mesh cast only the environment reflections, not my Reflection Probes.

    how i can fix this problem?
     
  2. Nanon413

    Nanon413

    Joined:
    Apr 5, 2016
    Posts:
    7
  3. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,487
  4. Nanon413

    Nanon413

    Joined:
    Apr 5, 2016
    Posts:
    7
    Sorry about that, no problem, and thanks you
     
    Last edited: Oct 12, 2022