Page 1 of 1
Clip Maps
Posted: Thu Sep 26, 2013 9:07 pm
by gordonrobb
Can't find it anywhere. Can I use clip maps with Octane? If so how?
Re: Clip Maps
Posted: Thu Sep 26, 2013 10:18 pm
by juanjgon
gordonrobb wrote:Can't find it anywhere. Can I use clip maps with Octane? If so how?
To configure clip maps in Octane you need to use the "opacity" input available in all material nodes. You can link the mask texture to this input to get the clip map effect.
-Juanjo
Re: Clip Maps
Posted: Thu Sep 26, 2013 11:30 pm
by gordonrobb
Thanks.
Re: Clip Maps
Posted: Fri Sep 27, 2013 2:07 am
by BorisGoreta
But this does not work with deep channel kernel and depth map. How do I render a depth map of the scene full of trees with alpha maps on leaf polygons ?
Re: Clip Maps
Posted: Fri Sep 27, 2013 8:35 am
by juanjgon
BorisGoreta wrote:But this does not work with deep channel kernel and depth map. How do I render a depth map of the scene full of trees with alpha maps on leaf polygons ?
Are you sure ... here it works.
-Juanjo
Re: Clip Maps
Posted: Sat Sep 28, 2013 7:57 am
by BorisGoreta
I suspect there is a bug. Check out direct light render, all leaves are rendered correctly. On the depthe channel render only one leaf surface is rendered with opacity ( there are 3 leaf surfaces ). Other two surfaces are completely opaque.
Re: Clip Maps
Posted: Sat Sep 28, 2013 9:03 am
by juanjgon
Boris, the problem is the material mixer node you are using in some leaf materials.
I think that this is a limitation of the InfoChannel kernel design, that only evaluate first material node available in the object to make possible a fast buffer rendering without a full shader tree evaluation. If the first node is the material mixer, that doesn't support opacity, you don't get the clip map.
The workaround is to don't use the material mixer node for render buffers, you need to link a material with the clip map to the root node material input.
-Juanjo
Re: Clip Maps
Posted: Sat Sep 28, 2013 9:44 am
by BorisGoreta
Ok thanks for explaining. Good to know.