Shader (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:
- Make Lit Color Shader (vuo.shader.make.color): Creates a graphics shader that can paint a 3D object with a solid color.
- Make Unlit Color Shader (vuo.shader.make.color.unlit): Creates a graphics shader that can paint a 3D object with a solid color.
- Make Edge Shader (vuo.shader.make.edge.color): Creates a graphics shader that paints a 3D object opaque near the edges and transparent in the center (or vice versa).
- Make Frosted Glass Shader (vuo.shader.make.frost): Creates a graphics shader that can paint a 3D object like frosted glass.
- Make Lit Image Shader (vuo.shader.make.image): Creates a graphics shader that can paint an image on a 3D object.
- Make Image Details Shader (vuo.shader.make.image.details): Creates a graphics shader that can paint surface details on a 3D object.
- Make Unlit Image Shader (vuo.shader.make.image.unlit): Creates a graphics shader that can paint an image on a 3D object.
- Make Vertex Attribute Shader (vuo.shader.make.normal): Creates a graphics shader that can paint colors on a 3D object representing its vertex attributes.
- Make Oval Shader (vuo.shader.make.oval): Creates a graphics shader that paints a 3D object with an oval and a halo.
- Make Wireframe Shader (vuo.shader.make.wireframe): Creates a graphics shader that can paint the outline of a 3D object.