Publisher | SmalBox |
---|---|
File size | 206.72kB |
Number of files | 17 |
Latest version | 1 |
Latest release date | 2023-03-20 09:35:17 |
First release date | 2023-03-20 09:35:17 |
Supported Unity versions | 2018.4.2 or higher |
Instructions in English
- Shader achieves a cutout effect.
- Support changing basemaps, hollow styles, color overlays.
- The cutout style supports zooming (mouse wheel zooming out has been implemented in the sample).
- Support mouse drag following, target object following, blend mode (implemented in the sample for reference).
- Shader realizes the preservation of hollow marks (can be used as an eraser or basic fog dispersion function).
- Retaining the hollow traces supports resolving modifications, increasing or decreasing the accuracy to achieve different effects.
- Use Shader to achieve the drawing part, the performance is efficient.
- Exposed parameter control and detailed annotations are easy to use.
- The implemented resource scripts are concise and easy to embed.
- The sample implements a complete set of common functions for easy reference.
中文说明
- Shader实现镂空效果
- 支持更换底图、镂空样式、颜色覆盖叠加
- 镂空样式支持缩放(样例中已实现鼠标滚轮放大缩小)
- 支持鼠标拖动跟随、目标物体跟随、混合模式(样例中已实现可做参考)
- Shader实现保留镂空痕迹(可做橡皮擦或基础的迷雾散开功能)
- 保留镂空痕迹支持分辨修改,提高或降低精度实现不同效果
- 使用Shader实现绘制部分,性能高效。
- 暴露丰富的参数控制、详细的注释便于使用。
- 实现的资源脚本等简洁方便嵌入。
- 样例实现了完整的常用功能,方便参考使用。