Particles not showing up using render texture

I have an object with particles shooting out the sides of it. It renders perfectly fine in the camera that it has attached to it. Previously I was doing a camera overlay onto my main camera to get this object to render but I switched it to a render texture. The object itself looks fine but you can’t see the particles once they escape the bounds of the object. It’s like nothing is being rendered outside of the main object itself. Anybody know why this is happening? I tried changing the clear flags, the clipping planes, the culling mask, etc on the camera but nothing worked. I added textures to the particles and they still aren’t being shown.

Thanks!

So, it looks like it comes down to the shader I’m using. Most of the shaders don’t show anything because the particles don’t have anything behind them. Particles-> Alpha Blending shader shows nothing… BUT Mobile->Particles->Alpha Blending works for some strange reason. You can see the particles with the correct shader!

Default partilce shaders use ColorMask RGB so alpha value will not be wrote to cache. When renderring to render texture, it gets the color (r, g, b , a) where the value a is 0, as texture uses alpha premultiplied to store color infomation, the color you get become (ra, ga, b*a, a) ——(0, 0, 0, 0) then color you eventually get.

Just remove “ColorMask RGB” or replace it with “ColorMask RGBA”, you will get the correct picture.

for URP, I found it can be solved using URP/Unlit with Render Face: Both
,for URP, I found it can be solved using URP/Unlit with Render Face: Both