Hi,
Is it possible to use DOF with sprite's particles ?
Regards,
R
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Particles sprites vs DOF
Moderator: Support
Re: Particles sprites vs DOF
Hi Robert,
yes. The Depth of Field simply uses the Depth Buffer to calculate the Amount of Blur. By default the Sprite Renderer does not write anything to the Buffer, but you can enable that in the Renderer's Material's ZBuffer Options. If "Write" is enabled it will work with DoF.
Note that this affects the Occlusion Test of the Particles so that some Particles are rendered after Particles that occlude them. This produces artifacts if you use half transparent textures on your particles. So make sure to also enable Sorting on your Sprite Renderer, to make sure the particles are rendered from the back to the front.
Best
Stephen
yes. The Depth of Field simply uses the Depth Buffer to calculate the Amount of Blur. By default the Sprite Renderer does not write anything to the Buffer, but you can enable that in the Renderer's Material's ZBuffer Options. If "Write" is enabled it will work with DoF.
Note that this affects the Occlusion Test of the Particles so that some Particles are rendered after Particles that occlude them. This produces artifacts if you use half transparent textures on your particles. So make sure to also enable Sorting on your Sprite Renderer, to make sure the particles are rendered from the back to the front.
Best
Stephen
Re: Particles sprites vs DOF
Hi Stephen,
Thank you very much !
Robert
Thank you very much !
Robert