/
Using textures with GeoRadiosity
This is the documentation for Enlighten.
Using textures with GeoRadiosity
To apply textures to geometry that you wish to preview in GeoRadiosity, you need to supply a .mat
file next to each of your .pim
files, with the same name as the corresponding .pim
file. The .mat
file contains mappings from material IDs in the mesh to <material>
tags. The schema for the .mat
file can be found in Source\Samples\Libraries\GeoEn2Support\mats.xsd
.
Example
An example of a material is as follows:
<material id="1"> <diffuse> <texture>..\Textures\test.tga</texture> </diffuse> <specular colour="1.0 0.5 0.5 1.0" power="2" /> </material>
Schema files
If you have trouble reading schema files:
- Create a new XML file in Visual Studio.
- Press F4 to display the Properties dialog.
- Attach the provided schema to the Schemas field. As you type into your XML file, the possible fields will appear as options. These are documented in the tooltips.
, multiple selections available,
Related content
Reserved texture samplers
Reserved texture samplers
More like this
Lightmap UV charts
Lightmap UV charts
More like this
Material properties
Material properties
More like this
3. Turn emissive materials into light sources
3. Turn emissive materials into light sources
More like this
4. Add light sources
4. Add light sources
More like this
World properties
World properties
More like this