RfM
|
IntroductionVersion 21 of RfM introduced a very convenient PxrBakeTexture node that enables a procedural pattern to be baked as a texture map. For example the pattern shown in figure 1 was baked as the map shown in figure 2.
The shading network shows the PxrBakeTexture node wired between the PxrOSL node that produces the procedural pattern and "Diffuse Color" input of PxrSurface. |
Basic SetupOnce the PxrBakeTexture node has been wired between the node that generates a pattern and the Bxdf, say PxrSurface.DiffuseColor, set a path to the texture to be baked.
The path can be specific to a single object, for example, |
Preview WorkflowSet the Render Mode to "Input".
Render the scene in the normal way to confirm the pattern is still "working". |
Baking WorkflowSet the Render Mode to "Texture".
Render the scene using Bake Render".
|
Once a "good" bake has been achieved reset the Render Mode to "Automatic". Subsequent renders will ignore the shading network and, instead, use the pre-baked texture. |
© 2002- Malcolm Kesson. All rights reserved.