HOME | DD

Published: 2013-05-30 19:49:15 +0000 UTC; Views: 17977; Favourites: 104; Downloads: 337
Redirect to original
Description
A general-purpose leaf & vegetation shader, for use in Blender's Cycles rendering engine.You can quickly assess if it's what you need, by looking at the rendered strip to the left (it's an outtake from an upcoming large-scale picture).
The node setup itself isn't my original invention; it's mostly based on this [link] with small tweaks, But I've tested this setup extensively, using it for dense varied vegetation, including flowers, and deemed it worthy of being... disseminated further.
Main change which I've done, after checking against photographs of vegetation, is the addition of transparent shadow, for increased light penetration. Without this, groups of dense vegetation supposed to be in full sunlight were too dark on the inside; apparently, Translucent node, even if added twice, isn't always enough. It's advised to keep the shadow fairly transparent (higher color value/brightness for the Transparent BSDF node) for such groups of leaves/plants, but lower it for dark and/or single plants.
Points of interest:
-Individual colors: change them to obtain various final effects; works for colorful flowers too! Esp. pay attention to the color values in the Diffuse and Translucent nodes, as they govern the outcome quite a bit.
-Mix factor between Diffuse and Translucent: most important, can change the outcome dramatically!
-Transparent node color value: affects the transparency of shadows - mentioned above; adjust as you need.
-Mix factor for Glossy node: better kept lower than higher, adjust as you need.
Generally, experiment until you find settings that are right for you. This node setup is 'touchy', small changes of parameters can bring significant changes of the outcome. On the good side, it doesn't strain the renderer too much.
Cycles does wonderful job with handling large amount of objects. Even on my poor man's PC, I'm able to render thousands of plants, duplicated via particles from about 30 templates, without problems and within reasonable rendertimes.
In case of any questions, feel free to ask.
Related content
Comments: 18
xaotherion In reply to bnolin [2017-01-25 23:00:25 +0000 UTC]
I'm glad you find it useful!
I should add one note, this setup works best with outdoors lighting scenarios - that is, one strong dominating directional light (plus diffuse sky of course, should work with HDRI also). In indoors settings with multiple competing light sources, much tweaking may be needed to prevent somewhat 'plasticky' look on the leaves.
👍: 0 ⏩: 0
vilesyn [2015-10-19 00:05:43 +0000 UTC]
Pretty nice setup. It looks like an addition to Andrew Price's grass shader. The thing I love about this setup, is that is would be great for a NPR setup as well, where the previous is mainly for PR scenes. Thank you for sharing.
👍: 0 ⏩: 0
PaulChambers3D [2015-02-02 21:29:18 +0000 UTC]
Great stuff. Just what I need for a current project. Thanks.
👍: 0 ⏩: 0
MortuusDiabolus [2013-06-02 17:56:39 +0000 UTC]
Looking forward to try it once. Until then, I put it into my favs to find it in the future.
Thank you.
👍: 0 ⏩: 0
kakimasu [2013-06-02 11:54:15 +0000 UTC]
Funnily enough, I've been working on modifying the exact same thing, looks like you beat me to it. In all honesty, I don't really find the transparent shadows necessary, since cycles is accurate enough anyway. But I see what you mean for actual groups of plants.
Anyway, I'm looking forward to seeing the full render, it looks pretty interesting from the preview.
👍: 0 ⏩: 0
Karricjusz [2013-05-30 20:19:31 +0000 UTC]
Node Editor zawsze będzie jedną z tych rzeczy, których się nie nauczę... I w zasadzie nawet nie powinienem próbować, ponieważ nie do końca jestem w stanie rozróżniać barwy... Trochę dziwne jak na "grafika", nie?
Będę mógł trochę od tego ściągnąć w razie potrzeby?
👍: 0 ⏩: 1
xaotherion In reply to Karricjusz [2013-05-30 21:23:41 +0000 UTC]
Nosz kurde, przecież po to to jest, żeby ludzie korzystali!
Node Editor straszy swoim wyglądem, mnie też wystraszył... niepotrzebnie, bo wcale nie jest tak groźny jak wygląda. Trzeba tylko mieć świadomość, że w praktyce pracujesz tylko z jednym "nodem" w danej chwili - nie z całą tą straszną plątaniną naraz. Owszem, dobrze też poczytać na wiki żeby wiedzieć co które "nody" robią, a trochę tego jest. No i nie bać się eksperymentować.
Kolory to rzeczywiście może być kłopot, ale słyszałem o jakimś tureckim malarzu, co jest całkiem ślepy a i tak maluje pejzaże! Których barw nie odróżniasz?
Może i na to znajdzie się rada... Bo widzisz, ja robiąc tyle lat w Blenderze nauczyłem się myśleć o kolorach używając przestrzeni barw HSV. Trzy parametry ułamkowe z zakresu zero-jeden: Hue - jaki to kolor; Saturation - od szarego do bardzo nasyconego, jaskrawego; Value - od czarnego do bardzo jasnego.
Choć trudno to wytłumaczyć, mam wrażenie że gdybyś też się nauczył, sporo by pomogło. Sam nie mam problemów z kolorami, ale czasem zdarza mi się o nich myśleć przy użyciu parametrów HSV i kółka kolorów [link] Które też by ci się mogło przydać, gdybyś na przykład nauczył się, który kolor jest na której "godzinie" na kółku. Np że liście to na 9 do 11, niebo na 1, krew na 6 itp.
O taki luźny pomysł, ale wydaje mi się że w połączeniu z parametrami HSV to mogłoby zadziałać...
👍: 0 ⏩: 1
Karricjusz In reply to xaotherion [2013-05-31 20:41:57 +0000 UTC]
Żeby nie było: nie jestem daltonistą, widzę świat na kolorowo Ale mam problemy np. z rozróżnieniem od siebie czerwonego i brązowego, albo żółtego i zielonego... Kiedyś w podstawówce narysowałem siebie z zielonymi włosami, i zauważyłem to dopiero po pewnym czasie i tak się zawstydziłem że mówiłem każdemu że zrobiłem to specjalnie. Osobną historią jest mylenie szarego z różowym, a wielkim horrorem jest dla mnie rodzinka składająca się z granatowego, różowego, fioletowego, granatowego, itd.
Ale jak mawiają ludzie, wszystko przychodzi z doświadczeniem Dzięki za rady!
👍: 0 ⏩: 0