Updated: September 11, 2021.
Github source code: [Click me to get the source code]
index
Dissolve
The dissolve effect is a delayed dissipation effect. When we want to make a picture disappear, it is very dull to hide it directly, so the dissolve effect looks more distinctive. Let's take a look at the final rendering:
Idea analysis
First of all, the so-called 溶解
, that is, according to the passage of time (or one 度
as a control switch), gradually change the transparency value in the texture 指定部分
to 0 until the transparency value of every place in the entire texture becomes 0&#x