Forum

#1 2017-03-16 22:52:46

red
New member

Using Facing Ratio

Hey guys, i'm a student from Isart Digital, i'm currently working on my graduation film.
We need to use a shader like dark on the edges and transparent in the middle

I have seen there is a velvet style in the diffuse shader. He is pretty cool. Is there a way to use the same thing in the opacity ?

By the way I've seen in the docu we could use a facing ratio, but don't understand where to find it and how to use it  sad
In maya used facing ratio with a ramp shader to get the result ( dark on the edge and transparent in the middle), but i'm not sure we have to use the same way in guerilla


thx for your answers smile

Offline

 

#2 2017-03-16 23:46:51

Gam
Member

Re: Using Facing Ratio

Hi

You can use a fresnel node as a facing ratio.

Cheers

Offline

 

#3 2017-03-17 10:24:41

ChienLoutre
Member

Re: Using Facing Ratio

Hi ! The Facing Ratio Node exists in SubShader mode ! (Clic and drag the parameter you want to set as subshader in the rendergraph, for example the Diffuse Color)

You will then be able to append Facing Ratio Nodes (and connect it to a Gradient or anything)


Maurin, MoPA student

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB