Faded mesh edge shader

Node-based Shader Editor
Post Reply
rxmarcus
Posts: 13
Joined: Thu Feb 22, 2018 6:22 pm

Faded mesh edge shader

Post by rxmarcus »

I'm working in AR and as such, I want to create little patches of dirt on a plane that can blend with the users "real world". I simply want to have a plane shaped mesh as shown in the screenshots and have the edges be faded or feathered to transparency.

Current
Image

What I Want
Image

How can I achieve this? A Fresnel affect almost does what I want, but its tied to view perspective, which does not accomplish what I'm looking for.

Thanks in advance.
Cyntherius
Posts: 12
Joined: Thu Dec 14, 2017 1:00 pm

Re: Faded mesh edge shader

Post by Cyntherius »

Hi

for the moment i think of two things:

- use a simple planar projected (from top) mask texture

- play around with the depth fade node
Post Reply