View Source
<?xml version="1.0" encoding="utf-8"?>
<scenedata>
<medium>
<name>sss</name>
<precedence>10</precedence>
<basic>
<ior>1.33</ior>
<cauchy_b_coeff>0</cauchy_b_coeff>
<absorption_coefficient_spectrum>
<rgb>
<rgb>1.35 10.989 11.475</rgb>
<gamma>2.2</gamma>
</rgb>
</absorption_coefficient_spectrum>
<subsurface_scattering>
<scattering_coefficient_spectrum>
<uniform>
<value>750</value>
</uniform>
</scattering_coefficient_spectrum>
<phase_function>
<uniform/>
</phase_function>
</subsurface_scattering>
</basic>
</medium>
<material>
<name>sss</name>
<specular>
<transparent>true</transparent>
<internal_medium_name>sss</internal_medium_name>
<bump>
<shader>
<shader>
<![CDATA[
def eval() real :
fbm(getTexCoords(0)*30.0, 4)*0.001
]]>
</shader>
</shader>
</bump>
</specular>
</material>
<material>
<name>phong</name>
<phong>
<exponent>
<constant>25000</constant>
</exponent>
<ior>1.33</ior>
<diffuse_albedo>
<constant><rgb>
<rgb>0.9 0.186 0.15</rgb>
<gamma>2.2</gamma>
</rgb></constant>
</diffuse_albedo>
</phong>
</material>
<material>
<name>ketchup</name>
<blend>
<a_name>sss</a_name>
<b_name>phong</b_name>
<step_blend>false</step_blend>
<blend>
<constant>0.35</constant>
</blend>
</blend>
</material>
</scenedata>