Fresnel channel
Fresnel channel
I wanted to ask a question. It 'correct to use the fresnel channel as a channel of specularity? In other words, it is appropriate to use a specularity texture in the fresnel channel to control the amount of specularity? Thank you.
Re: Fresnel channel
Actually there is no fresnel channel in Indigo, only a fresnel scale for phong materials, and that isn't controllable by a map afaik!
Maybe you should explain your needs a little detailed, and also tell what Exporter you work with
Maybe you should explain your needs a little detailed, and also tell what Exporter you work with
polygonmanufaktur.de
Re: Fresnel channel
Ok, I'm sorry but my English is not very good.
With fresnel channel, i mean fresnel scale, as you specify.
I use skindigo exporter, but for the moment the plug-in dont'have the fresnel scale control, then i add the fresnel scale in indigo rt application.
It is possible to apply a map in the fresnel scale channel (why not?).
I noticed that a black value of map, cause no specularity (diffuse channel only), while a white value mean full fresnel value (1.0?), so I thought that the specularity was driveable with the fresnel scale value (with a map).
Thanks.
With fresnel channel, i mean fresnel scale, as you specify.
I use skindigo exporter, but for the moment the plug-in dont'have the fresnel scale control, then i add the fresnel scale in indigo rt application.
It is possible to apply a map in the fresnel scale channel (why not?).
I noticed that a black value of map, cause no specularity (diffuse channel only), while a white value mean full fresnel value (1.0?), so I thought that the specularity was driveable with the fresnel scale value (with a map).
Thanks.
Re: Fresnel channel
In other words:
- exponent channel control the roughness;
- fresnel scale control the specularity (reflection);
- exponent channel control the roughness;
- fresnel scale control the specularity (reflection);
Re: Fresnel channel
The "roughness" of a reflective Phong material (and also Glossy Transparent!) IS possible my using a texture.
Its the exponent you define by that, so the controle where the material is rough, and where it is shiney.
B controls the spectrum of glossiness and brighter pixels on the texture set the glossiness to more reflective on the defined spectrum of B.
Fresnel Scale is afaik a 0 to 1 value that most exporters still haven't included yet :/
If unchanged the value is at 1 as default (afaik).
Its the exponent you define by that, so the controle where the material is rough, and where it is shiney.
B controls the spectrum of glossiness and brighter pixels on the texture set the glossiness to more reflective on the defined spectrum of B.
Fresnel Scale is afaik a 0 to 1 value that most exporters still haven't included yet :/
If unchanged the value is at 1 as default (afaik).
polygonmanufaktur.de
Re: Fresnel channel
Exactly, but in this channel (exponent), a lower value mean more rough, while a higher value mean more shiny.Zom-B wrote:The "roughness" of a reflective Phong material (and also Glossy Transparent!) IS possible my using a texture.
Its the exponent you define by that, so the controle where the material is rough, and where it is shiney.
B controls the spectrum of glossiness and brighter pixels on the texture set the glossiness to more reflective on the defined spectrum of B.
In the fresnel scale channel (with a bitmap applied, for example a black & white checkerboard), the black value mean NO reflection (someone like lambertian material), the white value mean normal reflection value (1.0) in according with the glossiness in the exponent map.
- PureSpider
- Posts: 1459
- Joined: Tue Apr 08, 2008 9:37 am
- Location: Karlsruhe, BW, Germany
- Contact:
Re: Fresnel channel
As I understand it, he pretty much wants an "IOR Map" for Phong materials, something I'd also love a lot!
Re: Fresnel channel
It is in 3.6.x.Zom-B wrote:only a fresnel scale for phong materials, and that isn't controllable by a map afaik!
-
- Posts: 512
- Joined: Wed May 02, 2007 11:34 am
Re: Fresnel channel
this is possible, are you using the newest version, 3.6.4?noldo wrote: In the fresnel scale channel (with a bitmap applied, for example a black & white checkerboard), the black value mean NO reflection (someone like lambertian material), the white value mean normal reflection value (1.0) in according with the glossiness in the exponent map.
Re: Fresnel channel
Seems I totally missed that -.-'OnoSendai wrote:It is in 3.6.x.Zom-B wrote:only a fresnel scale for phong materials, and that isn't controllable by a map afaik!
polygonmanufaktur.de
Re: Fresnel channel
Me too. Worse in fact, I noticed the feature . But I didn't integrate the fact, and was nearly going to explain why it wasn't implemented yet early todayZom-B wrote:Seems I totally missed that -.-'OnoSendai wrote:It is in 3.6.x.Zom-B wrote:only a fresnel scale for phong materials, and that isn't controllable by a map afaik!
obsolete asset
Re: Fresnel channel
By the way, why not making it spectral, and by this way make the "specular color" parameter obsolete? As it removes the diffuse color, it is quite useless as it is.OnoSendai wrote:It is in 3.6.x.Zom-B wrote:only a fresnel scale for phong materials, and that isn't controllable by a map afaik!
Etienne
Eclat-Digital Research
http://www.eclat-digital.com
http://www.eclat-digital.com
-
- Posts: 512
- Joined: Wed May 02, 2007 11:34 am
Re: Fresnel channel
is ISL working as expected in the Fresnel channel? I was trying something similar to what I've used previously within a Blend shader, using a normalWS check to return somewhere from 0.0 to 1.0 for the Fresnel Scale, but I get an error, saying that it "failed to find function eval(vec3)"?OnoSendai wrote:It is in 3.6.x.Zom-B wrote:only a fresnel scale for phong materials, and that isn't controllable by a map afaik!
I'm trying the exact same code that I used for the "Snowy Rock" blend - actually your code, Ono:
Code: Select all
def eval() real :
if(dot(normalWS(), vec3(0.0, 0.0, 1.0)) > 0.3,
1.0,
0.0)
Re: Fresnel channel
It is working as expected, yes. Indigo is certainly registering the blend and fresnel scale as different data types, wich explains the different respective signatures.
You can see on a new phong material that by default the fresnel scale shader uses the signature:
[/size]
In general you can trust and just abide by the ISL debugger.
Now, why the blend parameter could not, even as a ratio, be 'pos dependent', this is above my head yet and again
You can see on a new phong material that by default the fresnel scale shader uses the signature:
Code: Select all
def eval(vec3 pos) real :
In general you can trust and just abide by the ISL debugger.
Now, why the blend parameter could not, even as a ratio, be 'pos dependent', this is above my head yet and again
obsolete asset
Re: Fresnel channel
galinette wrote:By the way, why not making it spectral, and by this way make the "specular color" parameter obsolete? As it removes the diffuse color, it is quite useless as it is.OnoSendai wrote:It is in 3.6.x.Zom-B wrote:only a fresnel scale for phong materials, and that isn't controllable by a map afaik!
Etienne
This is an interesting idea.
It's a bit tricky to change fresnel_scale to be spectral, as it is tied up with energy conservation and sampling.
What I could do is to introduce a new (optional) fresnel_colour parameter, that would multiply the specular part of the BRDF. Having non-unity fresnel colour what model some kind of absorption happening during specular scatters.
Who is online
Users browsing this forum: No registered users and 43 guests