vuo.shader
These nodes are for working with graphics shaders.
A shader controls how a 3D object is rendered, such as its color, texture, and lighting. Shaders are an efficient way to add effects to 3D objects because they take advantage of graphics card acceleration.
You can connect these nodes to nodes from the vuo.scene
node set to draw 3D scenes.
Example compositions:
Nodes:
- Shade with Color (vuo.shader.make.color): Creates a graphics shader that can paint a 3D object with a solid color.
- Shade with Unlit Color (vuo.shader.make.color.unlit): Creates a graphics shader that can paint a 3D object with a solid color.
- Shade with Image (vuo.shader.make.image): Creates a graphics shader that can paint an image on a 3D object.
- Shade with Details (vuo.shader.make.image.details): Creates a graphics shader that can paint surface details on a 3D object.
- Shade with Unlit Image (vuo.shader.make.image.unlit): Creates a graphics shader that can paint an image on a 3D object.
- Shade with Vertex Normals (vuo.shader.make.normal): Creates a graphics shader that can paint colors on a 3D object representing its vertex normals.
- Shade with Wireframe (vuo.shader.make.wireframe): Creates a graphics shader that can paint the outline of a 3D object.