ScriptSpot home

MCG

Voluminance MCG

By Jonathan de Blok · 2015-04-28

Community reviewsNo reviews yet.
Version
1.1
Version requirement
2016
Date updated
2015-04-28
Legacy votes
14
Downloads
Description

Voluminance calculates the amount of light each vertex receives taking into account the distance traveled inside a mesh. A longer distance traveled inside means more of the light got absorbed resulting in a darker vertex color.

To view the result in the viewport enable the 'VertexColor channel display" in the object's properties dialog. For rendering you can you use the vertexcolor-map to drive material parameters.

Basically this is a very quick way of getting a sub surface scattering look and feel that renders in seconds.

Additional Info

Usage from scratch:

1) create mesh
2) in mesh properties enable 'vertexcolor channel display'
3) apply VolumetricToVertexColor modifier
4) pick a light
5) adjust multiplier to set the effect's strength

(A quickstart demo scene is attached as well.)

Tip: For organic meshes use effect on a low res mesh an then apply a turbosmooth modifier for faster results.

More by Jonathan de Blok

View all contributions
Comments (6)

Comment policy

Александр Горшков

Install quesion

I still have not figured out how to install it. What is an mcg-file?

niknastev

Great job as always Jona!

vusta

Multiplier and colour ?

Hi Jonathan,

looks really pretty..but why is it that when I increase the light multiplier...it gets darker ? Also, if I put some colour
in the light to make it even prettier....it remains black/white and not scattering my colour ?

Vu.

Reply to vusta
Jonathan de Blok

.

Multiplier is indeed a bit clumsily named, it multiplies the absorption factor,not the light.

Color you can get using a vertexcolor-map and a mix-map.. use the grayscale values to drive the mix amount between two colors. So you use the vertexcolora to drive material parameters, not directly.

(I can't read the light color/intensity using MCG, and there isn't a color input either, else I would have added it directly in the UI)

viewport gratification

ah ok, I was after instant gratification...ie. I wanna see the colour/SSS effect in the viewport !!!

Thanks. I'm looking thru your compounds, doing my head in...

Just for other ppl reading, if they don't have an Intel CPU (modern one at that) does Embree fall over ?

Vu.

Alaa Al-Nahlawi

That's cool, thanx for sharing.