
Search is based on keyword.
Ex: "Procedures"
Do not search with natural language
Ex: "How do I write a new procedure?"
Displaying Textures in the Viewer
If the texture maps used in your renderer's shaders are in the form of .tx or .tex files, you can show these in the Viewer, provided they have the file suffix .tx, rather than .tex. In addition, the Viewer can render RGB and RGBA image formats, such as .tif, .png, and .jpg. For example, create a primitive, assign it a Viewer shader material, and map the Texture parameter of the Viewer shader material to an image file.
1. | Open the recipe created in Assigning a Viewer Material Shader. |
2. | Edit the parameters of the Material node. |
3. | Expand the parameters of the viewerSurfaceShader of type KatanaPhong you added previously. |
4. | Expand the Texture parameter field. |
5. | Right-click on filename and select Wide editor. |
6. | Type in the path to your texture file. |
7. | Select Util > Flush Caches, or click on the Flush Caches button ![]() |
Observe the results in the Viewer.
Note: For you to apply texture color maps, your Viewer Surface shader must be either of the supplied KatanaPhong, or texture types, or a custom Viewer shader that supports this feature.
Sorry you didn't find this helpful
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
If you can't find what you're looking for or you have a workflow question, please try Foundry Support.
If you have any thoughts on how we can improve our learning content, please email the Documentation team using the button below.
Thanks for taking time to give us feedback.