Falloff texture

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
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Falloff texture

Post by lacilaci »

Can we get a falloff node/texture? I would like to control object glossiness at glancing angless with this for example.

(to simulate what fstorm does with "angle affect" feature, or what Thea render does with it's micro roughness controls)
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Falloff texture

Post by Dade »

This sounds more like a material than a texture (at least in the framework of how LuxCore works).

I don't think to touch anything in materials before the rework (the one to avoid dynamic code generation and kernel re-compilation for OpenCL). It is a basic step before to add anything new.
Disney 2015 addition may the only exception because our 2012 version is somewhat "incomplete".
Support LuxCoreRender project with salts and bounties
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Falloff texture

Post by lacilaci »

Dade wrote: Sat Jan 11, 2020 5:37 pm This sounds more like a material than a texture (at least in the framework of how LuxCore works).

I don't think to touch anything in materials before the rework (the one to avoid dynamic code generation and kernel re-compilation for OpenCL). It is a basic step before to add anything new.
Disney 2015 addition may the only exception because our 2012 version is somewhat "incomplete".
Well yes this could be an additional control straight in Disney. Changing the ratio of how is object becoming glossy at glancing angles. Not sure how much is this physically plausible but it's a popular thing in fstorm and was requested several times on Corona forums and for cycles too. Consider this an artistic tweak like the sheen, where it might make some materials more convincing looking in some cases.
PetrT
Posts: 81
Joined: Sun Dec 02, 2018 6:13 pm
Location: Russia
Contact:

Re: Falloff texture

Post by PetrT »

why not as geometry data node like hitpoint node now?
try to use shading normal with dot product but it must be allways faced to camera
may be it easier to use camera data node with some vector math and shading normal of object

may be the way of reusing Cycles node(Layer Weight) is exist-?
CodeHD
Donor
Donor
Posts: 437
Joined: Tue Dec 11, 2018 12:38 pm
Location: Germany

Re: Falloff texture

Post by CodeHD »

PetrT wrote: Sun Jan 12, 2020 11:13 am may be the way of reusing Cycles node(Layer Weight) is exist-?
I was thinking of using the Fresnel node to mix two materials, which i recall from a while back.
But I just looked at it again, and the output type doesn't seem to match anything? Am I missing something?
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Falloff texture

Post by lacilaci »

Oh for future reference it seems it's called glossy fresnel now

Image from manual
IMG_20200112_130429.jpg
Mixing 2 materials might be too expensive computationally.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Falloff texture

Post by B.Y.O.B. »

CodeHD wrote: Sun Jan 12, 2020 11:50 am I was thinking of using the Fresnel node to mix two materials, which i recall from a while back.
But I just looked at it again, and the output type doesn't seem to match anything? Am I missing something?
The LuxCore fresnel node is only for metal fresnel data (n and k parameters) and can only be used on the metal material node.
It's a bit of a weird little thing.
User avatar
MetinSeven
Posts: 137
Joined: Sun Aug 18, 2019 10:19 am
Location: Netherlands
Contact:

Re: Falloff texture

Post by MetinSeven »

I'd also very much welcome a falloff node that allows you to mix two colors, textures or materials based on the viewing angle (perpendicular vs. parallel), with an adjustable range.
visualizer • illustrator • animator • 3D designer — metinseven.nl
Post Reply