- Home /
Particle Depth, possible?
I am using the Volumetric Fog from the Adam demo for my game. But I realized just today that particles seem to just draw on top of the Volumetric fog.
I have posted an image. Not sure what I can / can't change to fix this.
Yes I know when the nuke is blowing up it should be bright, but even after it is gone, the dust particles continue to be bright.
So just curious as to what I might can do. I've tried all the particle shaders that come with Unity.
EDIT: So what I'm trying to figure out is, how to make the fog render on top, or put the particles behind it.
Answer by · Oct 04, 2018 at 02:30 PM
In Particle System > Renderer, set Order in Layer to -1 or change its Sorting Layer and use Second camera with -1 depth to render them first.
Your answer
Follow this Question
Related Questions
Is it possible to create a depth render of scene using a replacement shader? 0 Answers
OVRCameraRig export Depth Map 0 Answers
How to assign depth texture to camera? 0 Answers
Screen Depth giving me artifacts in Intersection Shader. 1 Answer
Size over lifetime jumping to max size from zero immediately 1 Answer