TYPE: SOP
TITLE: BakeVEX SOP

BakeVEX pre-shades mesh, Bezier or NURBs geometry with the appropriate surface
and displacement VEX shaders.  The lights in the scene are used to compute
illumination on the geometry.  A camera must be specified to determine specular
information.

No shadows, reflections or refractions are computed.

This operation only works with mesh, Bezier or NURBs surfaces.

The results of the shaders are stuffed into the geometry's attribute data.

Parameters:

    Camera                   - The viewing camera for shading.
    Bake Surface Shader      - Run the appropriate surface shader.
    Cf Attribute             - The Cf variable goes into this attribute.
    Of Attribute             - The Of variable goes into this attribute.
    Af Attribute             - The Af variable goes into this attribute.

    Bake Displacement Shader - Run the appropriate displacement shader.
    P Attribute              - The resulting position goes into this attribute.

See Also: Shader(shop)
