Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted Respect Mesh Renderer CastShadows property in custom shadow renderer

Discussion in 'General Graphics' started by joshuacwilde, Jan 15, 2021.

  1. joshuacwilde

    joshuacwilde

    Joined:
    Feb 4, 2018
    Posts:
    263
    I am finishing up a custom shadow renderer. Basically so I can have a lot more performant shadows by caching them. I am using a camera to render into a shadowmap right now. I would like to be able to respect the Cast Shadows property on MeshRenderers, thus only rendering shadows for MeshRenderers that have this property set. Any ideas? Or anywhere I can tie into the existing pipeline for this?

    I am using the built in render pipeline.
     
unityunity