depth fade with particle alpha shader
Posted: Mon May 21, 2018 1:01 pm
Hi
I want to create a particle effect which makes use of depth fade, so a cloud of dust intersects smoothly with the ground.
when using th DepthFade Node, I get this error:
redefinition of '_CameraDepthTexture' at line 70 (on d3d11)
I had a browse in the forum and saw someone had a similar problem when using the Spec Color property on another shader.
So is as a work around to just 'use' the existing camera depth texture instead of redefining it, I commented out that line 70, which made the depth fade work actually.
Would be nice to see this fixed!
I want to create a particle effect which makes use of depth fade, so a cloud of dust intersects smoothly with the ground.
when using th DepthFade Node, I get this error:
redefinition of '_CameraDepthTexture' at line 70 (on d3d11)
I had a browse in the forum and saw someone had a similar problem when using the Spec Color property on another shader.
So is as a work around to just 'use' the existing camera depth texture instead of redefining it, I commented out that line 70, which made the depth fade work actually.
Would be nice to see this fixed!