To create a texture resource:
1. Select Window > Palettes > Resource Browser to open the Resource Browser.
2. Select Resources > New Resource to display the list of new resource types.
3. Select Renderworks Texture.
The Edit Texture dialog box opens. Specify the shader parameters. Shader types and properties are described in Renderworks Shader Types.
Click to show/hide the parameters.
4. Click OK to create a texture with the name and properties specified in the Edit Texture dialog box. The texture displays in the Resource Browser and is saved with the file (the texture preview in the Resource Browser uses the Flat preview object at twice the texture size for ease of identification).
If you are modeling a glass object (glass reflectivity shader) with a 3D polygon or other sheet-like 3D object, duplicate and offset the 3D polygon by a small amount so that rays are traced through the glass with both an entering and exiting surface.
For image-based shaders, the real-world size of each texture repetition can be set based on a segment of the image.
To set the size of an image texture based on the image:
1. Select the image to use for the texture, as described in Creating Image-based Shaders.
2. In the Edit Texture dialog box, click Set By Image. If several image-based shaders are used, select the shader with the desired image in the Choose Image dialog box.
The Set Image Size dialog box opens. Red handles flash briefly to indicate the location of the line segment.
3. Specify the image length to use for sizing the texture by dragging the line segment into position, and then dragging the ends of the line segment. If necessary, use the mouse scroll wheel to zoom into and out of the image, or click and hold the mouse wheel button to pan.
When the line is indicating the desired real-world length, specify the real-world size for the line segment in Feature Size.
4. Click OK to exit the Set Image Size dialog box and update the Size value.
To save rendering time, it is possible to override the indirect lighting settings for individual textures (see Setting Lighting Options).
To set indirect lighting overrides for a texture:
1. From the Edit Texture dialog box, click Indirect Lighting Options.
The Indirect Lighting Texture Options dialog box opens. Specify whether, and to what degree, the texture should override the indirect lighting options.
Click to show/hide the parameters.
2. Click OK.
~~~~~~~~~~~~~~~~~~~~~~~~~