Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Creation
Display
Document Info
Document Modifications
Misc
Reference
Texture Mapping

Create or Edit document Render Materials. Note: Component can only modify materials created by the component earlier - it will not recognize materials that were added manually to the Rhino document.

Inputs

NameIDDescriptionType
NameMNName of material to add or modify.Text
DiffuseKdColor of the diffuse channelColour
SpecularKsColor of the specular highlightColour
EmissionKeEmissive color of the materialColour
AlphaAAmount of Transparency (0.0 = Transparent, 1.0 = opaque)Number
GlossGAmount of glossy shine on the material. (0.0 = Matte, 1.0 = Full gloss)Number
Diffuse BitmapDBFile path to an image to use in the diffuse channelText
Transparency BitmapTBFile path to an image to use in the transparency channelText

Outputs

NameIDDescriptionType
NameMNName of materials successfully added or modifiedText

Video Tutorials

Site design © Robin Rodricks.   Human and associated data © 2020 Andrew Heumann.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service