Search Unity

Shader.GetPropertyCount() is killing my framerate...

Discussion in 'Shaders' started by DanielRiches, Feb 26, 2020.

  1. DanielRiches

    DanielRiches

    Joined:
    Nov 23, 2019
    Posts:
    166
    I have no idea whats causing this, I have a load of meshes that share a single material (over 50 at this point), but seeing as i've always been told to make sure everything uses as few shaders as possible I thought that was a good thing...




     
  2. DreamingImLatios

    DreamingImLatios

    Joined:
    Jun 3, 2017
    Posts:
    4,271