Translucent material shading problem
Hello everybody! I have a bit of a problem with a translucent material. Is there a way to make a translucent material with 1.0 translucency properly lit?
Here's my current translucent material:
And here's a material I would like it to look like.
I still need the translucency for fading the material(with a changing parameter). Is it possible to do this with a translucent material or do I have to use a masked material with a changing parameter( I haven't gotten it to work though)?
asked Mar 17 '15 at 11:45 AM in Rendering
You need per-pixel lit translucency, which is currently a super super alpha feature that doesn't support a lot of stuff and is really buggy. I last found it in Epic's latest build around late February (it still exists, but I don't know which build it's in now). If you were to grab their latest build off github, you'd find it in the material editor under TRANSLUCENCY. The dropdown menu (which in 4.7 has the TLM Volumetric Non Directional/TLM Volumetric Directional/ TLM Surface) would have this like per pixel lighting selection.
It's what you need, but I think you'll be sorely disappointed with it.
answered Apr 11 '15 at 12:22 AM
Try changing the blend mode to masked, and the Shading Model to Subsurface. Then give the opacity a value of 1 (or 1.1 to make sure its 100% not translucent)
A thing to take note of is that even in translucent shading, when the opacity value is set to 1, it is still slightly translucent. This is because a translucent object in the real world can not be opaque.
To do the "Fading" effect there are two ways:
1) This is a cheap looking, but really easy to understand. First create a simple Gaussian of your desired blur For example:
Then plug it into the opacity mask (and/or Opacity, it changes the effect slightly)
2) This one is a little odd, but works, First open up your material, then add a Fresnal under the Utility. Plug the Gaussian into the ExponentIn. Then plug the whole thing into the alpha of a Lerp. Plug your favored Scaler Params into A and B. Then plug the Lerp Output, into the opacity.
Now for the Colors. Plug two colors into a lerp (A and B). Then plug the Fresnal Output into the Alpha. Then finish off and plug them into The base color.
Here is an example of #1
Here is an example of #2
And Here is an example of Both on a tiled plane
answered Mar 22 '15 at 05:46 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here