Page 1 of 1

Falloff?

Posted: Sat Feb 01, 2020 1:21 pm
by Racleborg
Hi All
Is this how to create a type of falloff :?: (attached)
Thanks

Re: Falloff?

Posted: Sun Feb 02, 2020 3:30 pm
by Luximage
Also you can use a combination of these factors with the mix color or the band node.
falloff factors.blend
(577.51 KiB) Downloaded 223 times
falloff.jpg

Re: Falloff?

Posted: Sun Feb 02, 2020 8:40 pm
by Racleborg
by Luximage ยป Sun Feb 02, 2020 3:30 pm

Also you can use a combination of these factors with the mix color or the band node.
falloff factors.blend
(577.51 KiB) Downloaded 2 times
Many thanks. This info will be really helpful! :D

Re: Falloff?

Posted: Mon Feb 10, 2020 4:37 am
by SlowHand
You should calculate dot product between (shading normal vector) and normalized(camera_position - shading position).
c1.PNG
c11.PNG
I hard-coded the position of a camera.
It would be great if we could get the camera position and calculate a normalized vector from nodes.

Re: Falloff?

Posted: Tue Feb 11, 2020 6:59 pm
by Racleborg
Hi SlowHand

I will create the setup and play around with it quite a bit to try and get an understanding of what the nodes are actually doing. I'm a bit out of my depth at the moment. :oops:

Many thanks :D

Re: Falloff?

Posted: Wed Feb 12, 2020 7:31 am
by PetrT
Falloff become more close to Luxcore ;)

Yes it must be faced to camera always and camera position is needed