Question by
theklassyfox · Apr 11, 2019 at 05:39 AM ·
shadermaterialmeshrenderersorting orderrenderorder
Sorting (rendering) order of materials in mesh renderer
My mesh renderer has several materials on it. They are all using the same triangle, and I need to set their rendering order inside the script. How do I do this? If I can't, is there way to force the rendering order in the shader code?
Comment
Answer by JonPQ · Nov 20, 2020 at 01:08 AM
change the renderqueue value on each material. careful these are not used on other objects though