Page 1 of 1
Tree leaf texture?
Posted: Thu Nov 09, 2023 11:46 am
by Builtdown
Hi,
How do you put two different textures on a single leaf? Top and bottom texture?
Thanks!
Re: Tree leaf texture?
Posted: Thu Nov 09, 2023 12:58 pm
by Builtdown
No one know?
Shouldn´t be any big thing but I have never looked how to do this before.
Re: Tree leaf texture?
Posted: Thu Nov 09, 2023 1:58 pm
by frankmci
There are probably other ways, but for surfaces with two distinct sides with differing qualities:
Make two materials, one for each side.
Feed both of them into a Mix Material.
Use a "Side" node to drive the Amount value of the Mix Material.
Re: Tree leaf texture?
Posted: Thu Nov 09, 2023 2:39 pm
by Builtdown
Thanks!
1. Where is "Side"-node?
2. Is there a way to do this with just 1 polygon (1 texture on other side, one on the opposite side?)
(I wouldn´t want to duplicate all of the leaves (300.000 polys))
Re: Tree leaf texture?
Posted: Thu Nov 09, 2023 4:01 pm
by frankmci
Builtdown wrote:Thanks!
1. Where is "Side"-node?
2. Is there a way to do this with just 1 polygon (1 texture on other side, one on the opposite side?)
(I wouldn´t want to duplicate all of the leaves (300.000 polys))
Sorry, I missed that you are on Lightwave. In LW, it looks like it's called the "Octane PolygonSide Texture." Yes, the whole point is that the two sides of the same polygon can have different attributes without needing duplicate geometry.
Here's the docs page:
https://docs.otoy.com/Lightwave3DH/Ligh ... ide%20node
Re: Tree leaf texture?
Posted: Fri Nov 10, 2023 7:13 am
by Builtdown
Great, thanks!