Material.enableInstancing returns true even if there is no gpu instancing checkbox in Unity

by OtakuFitness   Last Updated August 10, 2018 05:13 AM

I met a wired issue that I wrote a script for searching all custom shaders in a scene and finding out whether the gpu instancing checkbox has been toggled. However, some of them have no gpu instancing checkbox but Material.enableInstancing still returns true. Why?

Tags : unity


Related Questions


How to animate objects in Unity 3D

Updated July 12, 2015 13:05 PM