为了使2d粒子产生动画,这个实例使用了一系列储存在体积纹理中的动画粒子纹理桢。
To animate the 2d particles, the sample USES a series of animated particle texture frames stored in a volume texture.
尽管粒子是动态的(从原点移开),但额外的细节是由动态计算纹理坐标来表现体积纹理的不规则表现而产生的。
Although the particles are animating (moving away from the source), added detail is gained by animating the texture coordinates used to calculate the lookup in the the noise volume texture.
应用推荐