Excerpted from and compiled from the Unreal official tutorial: https://learn.unrealengine.com/course/2449699
Project file download in the course:
Link: https://pan.baidu.com/s/1o7m3pR7BvaCYAmlx57B9HQ Extraction code: uenb
1. Mixing mode translucent Translucent
Translucent mode can make materials transparent, such as glass.
The performance overhead of translucent mode is relatively high.
After selecting the translucent mode, you can activate the [Opacity] of the node, which links the transparency value of this material.
The opacity pin takes an "opacity" value or texture and applies it to the surface so that black areas are fully transparent, white areas are fully opaque, and values in between are semi-transparent.
Effect:
When translucent mode is turned on, lighting interaction is disabled by default, so no ambient light will be received or reflected
Second, the lighting effect of transparent materials
In the above example, after the translucent mode is selected, the PBR attribute is disabled for the material, that is, the material has lost the lighting interaction, and the surface no longer reflects ambient light.
If you need the material to retain transparency and have light interaction, then you need a semi-transparent lighting mode to make it look more realistic.
Among them, after selecting [Surface Translucent Volume] and [Surface Forward Shading], you can restart the PBR attribute input of the material node:
Effect:
For details on translucent option settings, please refer to: (click to view a larger image)