Unity3D图像后处理特效——Vortex image effect


The Vortex image effect distorts the rendered image within a circular region. Pixels in the image are displaced around a central circular area by a specified angle; the amount of displacement reduces with distance from the centre, diminishing to zero at the circle's edge. Vortex is similar to another image effect called Twirl, although Twirl distorts the image around a point rather than a circle.

漩涡图像特效是指在一个圆形区域内扭曲所渲染的图像。图像中的像素沿着一个圆形区域进行旋转偏移,而偏移量随着距中心的距离而逐渐减少,在圆形区域边界处降低为0。漩涡图像特效类似于另一种叫做旋转扭曲的图像特效,不同的是旋转扭曲特效是将图像沿着一个点而非一个圆形区域来旋转图像。

As with the other image effects, this effect is only available in Unity Pro and you must have the Pro Standard Assets installed before it becomes available.

和其他图像特效一样,该特效只能在Unity Pro上进行使用,并且在使用之前必须安装Pro Standard Assets。

Vortex image effect applied to the scene

应用于场景的漩涡图像特效

Radius

半径
 The radius of the circle where distortion occurs, given in normalized screen coordinates (ie, a radius of 0.5 is half the size of the screen).

在给定的归一化屏幕坐标中,图像扭曲出现的位置上的椭圆半径(ie,半径为 0.5 是屏幕大小的一半)
 
Angle

角度
 The angle by which pixels are displaced around the central circle.

中心点的旋转角度
 
Center

中心
 The center of the circular region of distortion.

扭曲处的圆形区域中心点
 

 
Hardware support     硬件支持
This effect requires a graphics card with pixel shaders (2.0) or OpenGL ES 2.0. PC: NVIDIA cards since 2003 (GeForce FX), AMD cards since 2004 (Radeon 9500), Intel cards since 2005 (GMA 900); Mobile: OpenGL ES 2.0; Consoles: Xbox 360, PS3.

这个特效需要显卡拥有像素着色器(2.0)或者OpenGL ES 2.0。台式机:2003年以后的NVIDIA显卡(GeForce FX),2004年以后的AMD显卡(Radeon 9500),2005年以后的Intel卡(GMA 900);移动设备:OpenGL ES 2.0;控制台: Xbox 360、 PS3。

 

All image effects automatically disable themselves when they can not run on end-users graphics card.

所有图像特效如果无法在用户显卡上运行时将会自动被关闭。

相关内容