How do I not render a material? (Maybe also known as not render the material's section)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By NimBlemations

It’s usual to ask, “Why is this not rendering, and this not rendering?”. But here is the thing, I want to do something to not render a material instead of using alpha (unless there is something that makes the alpha not render the material once fully transparent), anyways, is there a way to not render the material?

:bust_in_silhouette: Reply From: klaas

if you are talking about 3D Material!?

if you want a simple hack than you can use the distance fade … just set both values to maximum.
Sure it would be better to turn of the visibility for the node.