Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

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:
    10,623
  4. Nanon413

    Nanon413

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