In version 1.3, two transparency solutions are introduced: OpacityMask and Translucent. The advantages and disadvantages of each solution are as follows:
Solution | Features | Performance | Recommended for use in | Material |
---|---|---|---|---|
OpacityMask | Uses DitherTemporalAA for pseudo-transparency processing. | |||
Good performance | ||||
Slight graininess may be present. | Good performance, no Overdraw issues. | Applied to the character model itself, achieving effects like the character appearing and disappearing. | M_CelesAnimeMain_OpacityMask | |
M_CelesAnimeEye_OpacityMask | ||||
Translucent | Uses UE native transparency processing, capable of presenting true transparency effects. | |||
Lower performance | ||||
Potential transparency sorting issues. | Lower performance, may lead to Overdraw issues, especially with a large number of overlapping transparent elements. | Used for materials like sheer fabrics or stockings with semi-transparency. | M_CelesAnimeMain_Translucent | |
M_CelesAnimeEye_Translucent |
The transparency effect of OpacityMask mainly relies on pixel jittering using DitherTemporalAA. The principle can be referenced in the following link :
To use the OpacityMask transparency effect, switch the main material to M_CelesAnimeMain_OpacityMask or M_CelesAnimeEye_OpacityMask. Adjust the MainAlpha parameter in the material to observe the transparency effect.
Using UE native translucent processing, it can fully present the translucent effect.
To use the OpacityMask transparency effect, switch the main material to M_CelesAnimeMain_Translucent or M_CelesAnimeEye_Translucent.
Adjust the MainAlpha parameter in the material to observe the transparency effect.
If there is overlap when using this translucent model, you may see the underlying model directly or experience abnormal transparency sorting.
To resolve this issue, you can check the "CullWithSceneDepth" option in the material, which will solve the problem.
Please note that when enabling CullWithSceneDepth, CustomDepth must be enabled for the Actor!