Hi, is there a way I can add a text note/comment to a material?
Reason being, in order to get my wireframe material to render polygons and not triangles, I added an Arnold Properties to the object, and turned on subdivisions, then set to zero. But I'm likely to forget that next time I need to do it, so adding a note/comment to the material would be very useful.
Thanks
Solved! Go to Solution.
Solved by madsd. Go to Solution.
Not the closure, but you can type up a header in a node that does nothing except parsing the original signal through and call it something like REMEBER.
You format the code like in html with breaks and such, headers.
shader REMEMBER [[ string help = "<h3>REMEMBER!!!!</h3>" "Do the thing about colors<br>" "Don't forget to feed the cat<br>" "Pancakes taste good<br>" "End of discussion<br>", ]] ( color In = 0, output color Out = 0, output float FOut = 0, ) { Out = In; FOut = Out[0]; }
Here is a slightly more complex integration using QT.
You would need a .ui file for this kind of formatting.
Also here, this can be done as a passthrough node.
you cannot add a unique note to the Material it self, so just do it on a dummy shader.
Can't find what you're looking for? Ask the community or share your knowledge.