Steps needed for Maya 3D Paint to work:
- Set a project folder and save your scene.
* If your painting into an existing texture you can skip this step.
- Make sure your model has UV coordinates.
- Make sure your model has a basic Lambert material.
* If you’re using a different material/shader on your model,
Temporarily switch to Lambert just for the texture painting operation,
And connect the original shader with the painted texture map to the surface shader input of the shading group after you’re done painting.
- In the Rendering tab toolbar, Double-Click the 3D Paint tool button to activate 3D Paint and also open its tool settings window.
- Make sure the object is selected.
- In the 3D Paint Settings window, go to the File Textures part,
Choose a material attribute to paint to.
* this would usually be Color because we are using Lambert temporarily anyway.
- Click Assign/Edit Textures to open the Assign/Edit Textures dialog,
Choose a resolution and a file format for the new texture,
And than click Assign/Edit Textures button at the bottom of the Assign/Edit Textures dialog to create the new texture and close the dialog.
* If you already connected an existing texture file to the Lambert shader’s Color input you can skip this step.
- Check Update on stroke and Save texture on stroke.
- Set the viewport to Textured display mode.
- Set paint brush settings.
- Click the 3D Paint tool button to activate it and paint on the model surface.
Maya 2018 | V-Ray 3.6
Toon shading in V-Ray consists of two elements:
- A VRayToon node that creates a graphic contour effect on the rendered image.
- A flat shader that uses surface luminance data to define color areas.
* A VRayLightMtl can be used for that.
Creating the VRayToon node:
- Click the Create V-Ray Toon button in the V-Ray toolbar to create a VRayToon node.
- In the VRayToon node attributes, set line thickness, color, and more graphic properties.
* if you created a VRayToon node and it’s not selected RMB click the Create V-Ray Toon button in the V-Ray toolbar and choose Select VRayToon node.
* To delete the VRayToon node, select it and press Delete.
Creating the toon shader:
- Create a VRayLightMTL node as the object’s surface shader.
- Create a Ramp texture node, connect it’s output color to the VRayLightMTL’s color input and delete it’s accompanying 2D placement node.
- Create a surfaceLuminance node and connect it’s output to the Ramp node’s V Coord input.
- Optional remapValue node between the surfaceLuminance node and the Ramp node to clamp the luminance values.
- Optional floatMath node to scale or manipulate the surfaceLuminance output value.
Arnold for Maya Toon Shading
Maya 2018 | V-Ray 3.6
- Select the nHair object.
- In the Attribute Editor, in the hair system shape attributes.
Open the Attributes menu, and choose VRay > Hair Shader.
- Create a VRayMtlHair3 shader.
- Connect the shader to the Hair Shader slot under VRay Extra Attributes in the hair system Shape Node attributes.
V-Ray for Maya and XGen
Use a Surface Luminance node as a V coordinate input value for a Ramp (V Ramp) node containing the toon colors.
* Note that the Clamp node is important so results will be ass expected, it clamps the Surface Luminance values to 0.99 so the V coordinate will nor cycle back to the beginning of the Ramp.
Toon Shading in V-Ray for Maya