top of page

Particle Effects Rendering Above Canvas

  • Writer: Ashlee Nielsen
    Ashlee Nielsen
  • Aug 20, 2017
  • 1 min read

So today's topic is the issue I found when trying to render particle effects on a moving slider. See completed example below.

In order to do this, I had to first change the UI Canvas Render Mode to "Screen Space -Camera" to lock the UI render to a single camera instead of the whole scene.

Then I created a second camera in the scene and dragged it into the "Render Camera" slot on the UI Canvas.

My next step what to create a new "Layer" to which I called "Particles".

On the main camera I set the culling mask to not show "Particles" and set the second camera to only show "Particles".

I then set the UI Canvas Layer to "Particles"

On the second camera I then set Clear Flags to depth only.

Then lastly set the depth on the main camera to 0 and on the second camera 1.

Then ta da!

 
 
 

Recent Posts

See All
I'm Back!!

Wow guys, it's been forever since I've updated this blog!!! A lot has happened so I hope I can summarize everything! First up, I've...

 
 
 

Comments


Follow

  • Facebook
  • Twitter
  • LinkedIn
  • SoundCloud
  • YouTube

©2016 by KvasBrag Studios. Proudly created with Wix.com

bottom of page