Problem: Blended material to null
Posted: Mon Nov 19, 2007 3:35 am
Hi,
I'm testing the way to use "alpha maps".
I have blended a white diffuse material with a null material.
The shadow looks good, but the null material is rendered as a gray material.
the code:
tested it with following code, too:
(with "<blend_factor>uv</blend_factor>")
(indigo 1.0.3)
I'm testing the way to use "alpha maps".
I have blended a white diffuse material with a null material.
The shadow looks good, but the null material is rendered as a gray material.
the code:
Code: Select all
<material>
<name>null</name>
<null_material/>
</material>
<material>
<name>Material.001</name>
<diffuse>
<albedo_spectrum>
<rgb>
<rgb>0.8 0.8 0.8</rgb>
<gamma>2.2</gamma>
</rgb></albedo_spectrum>
</diffuse>
</material>
<material>
<name>Material</name>
<blend>
<a_name>Material.001</a_name>
<b_name>null</b_name>
<blend_factor>1</blend_factor>
<blend_map>
<path>masktest01.png</path>
<uv_set>uv</uv_set>
<exponent>1.000000</exponent>
<a>0</a>
<b>1</b>
<c>0</c>
</blend_map>
</blend>
</material>
Code: Select all
....
<material>
<name>Material</name>
<blend>
<a_name>Material.001</a_name>
<b_name>null</b_name>
<blend_factor>uv</blend_factor>
<blend_map>
<path>masktest01.png</path>
<uv_set>uv</uv_set>
<exponent>1.000000</exponent>
<a>0</a>
<b>1</b>
<c>0</c>
</blend_map>
</blend>
</material>
(indigo 1.0.3)