资源图标

Sprite Masking 1.0

没有下载许可
官方售价
$10.00
文件大小
573.6 kB
开发者
Harshit Vyas
版本要求
Unity 5.5.0 或更高版本
 alt=
精灵遮罩允许你遮罩类型精灵的对象。它具有简单的雪碧掩蔽可应用于单精灵以及掩模版可应用于组的精灵。

精灵必须spriterenderer组件

手机上的性能也非常快。

Android APK(脂肪):—
https:\/\/www.dropbox.com\/s\/qnu2gbkeae6nog5\/masktest.apk?DL = 0

演示WebGL:—
http:\/\/harshitvyas.000webhostapp.com\/

特征:

*非常快。每个面具“成本”只有一个提请通话。
*屏蔽进行基于GPU的CPU无成本等
*允许不同的面具为每个雪碧以及每个组
*只对单个精灵进行反向遮罩,它与组掩码着色器不同。
*扁平阶层。精灵可以外面罩法。
*允许使用任何支持模板缓冲区的着色器。(简单的精灵面具着色器将工作在那些设备也不支持模板)
*兼容任何平台:移动,PC,网络等
*可以在运行时创建\/启用\/禁用。

任何Unity版本的作品!
Sprite Masking allows you to mask objects of type Sprite. It has simple sprite masking which can be applied to single sprite as well as stencil mask which can applied to group of sprites.

Sprite must have spriteRenderer component

performance is very fast on mobile also.

Android APK (Fat) :-
https://www.dropbox.com/s/qnu2gbkeae6nog5/maskTest.apk?dl=0

Demo WebGL :-
Unity WebGL Player | MaskTest

Features:

* Very fast. Each mask "costs" only one draw call.
* Masking is performed on GPU so no cost on CPU
* Allow different mask for each sprite as well as each group
* Inverted masking only for single sprite it is different shader than group mask shader.
* Flat hierarchy. Sprites are allowed to be outside the mask hierarchy.
* Allows to use any shader, which supports the Stencil buffer. (Simple sprite mask shader will work on those device also who are not supporting stencil)
* Compatible with any platforms: Mobile, PC, Web, etc.
* Can be created/enabled/disabled at runtime.

Works on any Unity version!
作者
UnityStore
下载
0
首次发布
最后更新
评分
0.00 星 0 星

来自UnityStore的更多资源

顶部 底部