Render Queue (draw order)
Transparent hair, lace or glasses lenses vanish at certain angles, or hide behind other things. Most of the time, you can fix this with the Render Queue, a number that sets the draw order.
Published · This applies to Unity's Built-in Render Pipeline (VRChat avatars). Content as of November 2026.
Read this when
- Transparent parts (lace, glasses lenses, blush) disappear and reappear as you move the camera.
- In worlds with water, the transparent parts of your avatar hide behind the water surface.
- You can't see one transparent thing through another, like a ribbon behind a see-through skirt.
- Particles and effects jump in front of your hair or clothes, or hide behind them.
What is the Render Queue?
When Unity draws the screen, it draws materials in order, starting from the smallest number set on each one. This number is the Render Queue. Things drawn later are layered on top of things drawn earlier.
For opaque things, depth decides what's in front, so changing the order barely changes how they look. The order matters for transparent things. They don't record depth. They just blend their color over whatever is already drawn.
- 1000 Background The background (skyboxes and so on)
- 2000 Geometry Opaque things. Most materials
- 2450 AlphaTest Cutouts. Opaque things with holes
- 2500 Up to here counts as "opaque"
- 3000 Transparent Transparent things
- 4000 Overlay Drawn last. Layered on top of everything
Sorting changes at 2500
- 2500 and below (treated as opaque)
- Roughly, the things closest to the camera are drawn first. Depth decides what's in front, so it looks right whatever the order.
- 2501 and above (treated as transparent)
- Within the same number, the things farthest from the camera are drawn first. The distance isn't measured to the surface you see, but to the center of the mesh's bounding box (Bounds). When two things have centers in different places, like a big skirt and a small ribbon, which one is "closer" flips as the camera moves, and they flicker.
- When one mesh has several transparent materials
- Within the same mesh and the same number, they're drawn in material order (Element 0, 1, …), not by distance.
Try it yourself
The avatar's transparent part is in front of the water surface. If the water is drawn first, it looks right. Change the numbers and the distance, and see what happens.
Draw order
- World's water surface (3000)
- Avatar's transparent part (3000)
The numbers are the same, so distance decides the order.
Looks right: the water is drawn first, and the part is layered on top.
Common problems and how to fix them
Things vanish and reappear by angle
- What happens
- Two transparent parts jump in front of or behind each other depending on the viewing angle.
- Cause
- Their numbers are the same, so distance decides the order, and which one counts as closer flips with the angle.
- How to fix it
- Raise the number of the one you want in front, just a little (+1 to +10). The number, not the distance, then decides the order, so they stop swapping.
Hidden by water
- What happens
- In worlds with water, the transparent parts of your avatar look like they're underwater.
- Cause
- A world's water surface often uses a number in the transparent range. If your part is drawn before the water, the water's color is painted over it.
- How to fix it
- Make the part's number larger than the water's. In my SpiderWeb, the threads are 3100 and the shockwave is 3110. The manual says that in worlds where the water is 3100 or more, you should set the thread material above the water and the shockwave after that. SpiderWeb manual
Overlapping inside one mesh
- What happens
- Two transparent materials on the same mesh overlap in the wrong order.
- Cause
- Their numbers are the same, so they're drawn in material order.
- How to fix it
- Raise the number of the one you want in front, or move the one you want behind to an earlier Element.
Use Cutout if sharp edges are fine
- What happens
- You're using transparency only to cut out a shape, like hair tips or the holes in lace.
- Cause
- Transparency needs its order adjusted. Cutout (2450) is treated as opaque and records depth.
- How to fix it
- If sharp edges are fine, switch to Cutout. The draw order problems go away.
How to change the number
- Duplicate the material first, so you can go back.
- In the Project window, select the material you want to change.
- In the Inspector, find the Render Queue field. In many shaders it's near the bottom. If it's left at
From Shader, the shader's default number is used. - Enter the number.
- To check the order, open Unity's Frame Debugger (
Window → Analysis → Frame Debugger) and step through what gets drawn, one at a time.
Things to watch out for
- Above 2500, a material is treated as transparent. In the Built-in Render Pipeline, things above 2500 no longer receive shadows. Keep opaque things at 2500 or below.
- Changing a shader's rendering mode may reset the Render Queue to its default number. Check it again after you change it.
- Don't move the number a lot. The bigger it is, the later it's drawn compared to a world's transparent things (glass, fog, effects), and it may look like it's in front of them even when it's behind.
- The Render Queue is a material setting, so once you upload, other people see it drawn in the same order too.
Summary
- The Render Queue is a number for draw order, and it matters for transparent materials.
- When the numbers are the same, the distance to each mesh's center decides the order, and that causes flickering.
- Set only the orders you need, with small differences, and use Cutout where you can.