New absorption layer transmittance parameter
New absorption layer transmittance parameter
I've added a new parameter to the specular material, called 'absorption layer transmittance'.
It simulates the absorption of light by a thin coating of material on the surface of the material.
It's a wavelength dependent parameter, and can thus be driven by a shader, texture, or be a constant colour.
It should be useful for a few things:
* Stained glass
* Surface absorption on surfaces like human skin ( spots, freckles etc..)
* Projecting images (film projector etc..)
I also plan to add the parameter to the glossy transparent material.
Here's a stained-glass like example:
It simulates the absorption of light by a thin coating of material on the surface of the material.
It's a wavelength dependent parameter, and can thus be driven by a shader, texture, or be a constant colour.
It should be useful for a few things:
* Stained glass
* Surface absorption on surfaces like human skin ( spots, freckles etc..)
* Projecting images (film projector etc..)
I also plan to add the parameter to the glossy transparent material.
Here's a stained-glass like example:
- Attachments
-
- absorption_layer_transmittance_test.jpg (70.53 KiB) Viewed 4464 times
Re: New absorption layer transmittance parameter
Ohhhhh! Nice!
"A foolish consistency is the hobgoblin of little minds..." - Emerson 1841
Re: New absorption layer transmittance parameter
I can't help but notice that you've posted the same message three times in a row, Wyt
Re: New absorption layer transmittance parameter
...and each time heart felt or perhaps just foolish consistency?
"A foolish consistency is the hobgoblin of little minds..." - Emerson 1841
Re: New absorption layer transmittance parameter
hahaha maybe foolish consistency
Re: New absorption layer transmittance parameter
That's great! Thanks so much for this Nik!
A question tho. What about those nasty flies?
take care
psor
A question tho. What about those nasty flies?
take care
psor
"The sleeper must awaken"
Re: New absorption layer transmittance parameter
Psor: the fireflies are due to usage of specular material and small light source, and are unavoidable with QMC path tracing.
Re: New absorption layer transmittance parameter
was about to ask the same thing.
thats pretty awesome, ono
thats pretty awesome, ono
Re: New absorption layer transmittance parameter
Thanks Nik, good to know.
take care
psor
take care
psor
"The sleeper must awaken"
Re: New absorption layer transmittance parameter
Same scene, but using a glossy transparent material:
- Attachments
-
- absorption_layer_transmittance_test2.jpg (81.04 KiB) Viewed 4426 times
Re: New absorption layer transmittance parameter
Neat! Could you please do another one with "god rays"?!
take care
psor
take care
psor
"The sleeper must awaken"
Re: New absorption layer transmittance parameter
Hey Nick, what about some xml so we can start implementing that for our beloved customers?
Re: New absorption layer transmittance parameter
Looks very useful nick! (That was fast...) I hope this is a material parameter and not a medium parameter.
Re: New absorption layer transmittance parameter
It's pretty simple, it looks like this:fused wrote:Hey Nick, what about some xml so we can start implementing that for our beloved customers?
Code: Select all
<specular>
<transparent>true</transparent>
<internal_medium_name>spec_medium</internal_medium_name>
<absorption_layer_transmittance>
<texture>
<texture_index>0</texture_index>
</texture>
</absorption_layer_transmittance>
<texture>
<uv_set>albedo</uv_set>
<path>ColorChecker_sRGB_from_Ref.png</path>
<exponent>2.2</exponent>
</texture>
</specular>
Re: New absorption layer transmittance parameter
I'll leave that up to you guyspsor wrote:Neat! Could you please do another one with "god rays"?!
take care
psor
Who is online
Users browsing this forum: No registered users and 58 guests