A-J-K
(A-J-K)
February 27, 2015, 3:34pm
1
hey guys,
i have a little question about the new foliage shading model, is there anything to change when importing speedtree trees? Or is the new Realistic Foliage Lighting setup alreday set as standard?
zeOrb
(zeOrb)
February 27, 2015, 3:43pm
2
Check out this thread , in particular this post:
Sorry we don’t have any examples yet, got behind due to GDC.
For two sided foliage:
Use Masked blend mode
Hook up BaseColor, Roughness, Normal, and OpacityMask like normal
Hook up SubsurfaceColor to filter the lighting on the backside of the leaf. Usually this is what you put into BaseColor but maybe with some extra saturation or darkening to simulate multiple light bounces within the material. Stuff like leaf veins darkens the subsurface lighting.
Hook up Opacity to control how much light penetrates through the material for dynamic shadows. Usually a value of .5-.9 works well. Don’t go near 0 or shadows will be gone.
Afaik SpeedTree is not updated yet, so you have to hook up manually diffuse texture into subsurface color and set Opacity