Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
standalone:mtl [2017/12/02 18:10]
keymaster [EnviroPortalMtl]
standalone:mtl [2018/04/23 15:31] (current)
martin [Native]
Line 72: Line 72:
         <​attenuationDist>​[float]</​attenuationDist>​         <​attenuationDist>​[float]</​attenuationDist>​
         <​attenuationColor>​[RGB]|[map]</​attenuationColor>​         <​attenuationColor>​[RGB]|[map]</​attenuationColor>​
-        ?<​emissionColor>​[RGB]</​emissionColor>​+        ?<​emissionColor>​[RGB]|[map]</​emissionColor>​
         ?<​emissionDist>​[float]</​emissionDist>​         ?<​emissionDist>​[float]</​emissionDist>​
         ?<​scatteringAlbedo>​[RGB]|[map]</​scatteringAlbedo>​         ?<​scatteringAlbedo>​[RGB]|[map]</​scatteringAlbedo>​
         ?<​meanCosine>​[float]</​meanCosine>​         ?<​meanCosine>​[float]</​meanCosine>​
         ?<​singleScatteringOnly>​[bool]</​singleScatteringOnly>​         ?<​singleScatteringOnly>​[bool]</​singleScatteringOnly>​
 +        ?<​mappingMode>​Mapping2D|Mapping3D</​mappingMode>​
 +        ?<​stepSize>​[float]</​stepSize> ​       ​
     </​volume>​     </​volume>​
  
Line 104: Line 106:
  
 | emission > disableSampling | When set to true, the emission changes to self-illumination | | emission > disableSampling | When set to true, the emission changes to self-illumination |
 +| volume > mappingMode | When set to Mapping 2D, textures are resolved at the volume boundary (resulting in a homogeneous volume). When set to Mapping 3D, textures are evaluted inside the volume along the ray relting in a true heterogeneous medium). Note that Mapping 3D works well only for textures with mapping based on position |
 +| volume > stepSize | When mapping mode is set to Mapping 3D, textures are sampled along the ray once per a step. This parameter defines the length of the step and thus also number of steps along the ray. Increasing the step size leads to faster rendering, but more noisier result. Decreasing the step size leads to slower rendering with higher quality result |
 | displacement > min| Displacement value corresponding to black (0.0) texture value| | displacement > min| Displacement value corresponding to black (0.0) texture value|
 |displacement > max | Displacement value corresponding to white (1.0) texture value | |displacement > max | Displacement value corresponding to white (1.0) texture value |

Log In