Falloff?

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Falloff?

Post by Racleborg »

Hi All
Is this how to create a type of falloff :?: (attached)
Thanks
Attachments
Annotation 2020-02-01 131759.jpg
Luximage
Posts: 165
Joined: Sun Jan 14, 2018 8:01 pm

Re: Falloff?

Post 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 221 times
falloff.jpg
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: Falloff?

Post 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
User avatar
SlowHand
Posts: 10
Joined: Sun Feb 09, 2020 12:39 pm

Re: Falloff?

Post 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.
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: Falloff?

Post 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
PetrT
Posts: 81
Joined: Sun Dec 02, 2018 6:13 pm
Location: Russia
Contact:

Re: Falloff?

Post by PetrT »

Falloff become more close to Luxcore ;)

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