当前位置:网站首页>Ugui uses its own function to realize reverse mask
Ugui uses its own function to realize reverse mask
2022-06-30 05:03:00 【StudyHard_ luozhongxu】
1. Create a new shader , named mask, Choose your own UI/Default, The adjustment parameters are shown in the figure below

2. Create a new shader , named masked, The adjustment parameters are shown in the figure below

3. Create two Image, Hold up the materials respectively , The attention level is shown in the following figure :

4.mask Specify a picture , Here's the picture :

5. The final effect is as follows :

notes : And Mask Display exceptions may occur when masks are used together , here Mask Replace with Mask2D It will display normally .
Material parameter description link :Stencil stay Unity The use of _asitini The blog of -CSDN Blog _stencil unity
边栏推荐
- 产生 BUG 测试人员需要自己去分析原因吗?
- Tcp/ip protocol details Volume I (Reading Guide)
- LXC 和 LXD 容器总结
- Deeply understand the function calling process of C language
- Unity profiler performance analysis
- Solution to 293 problems in the week of Li Kou
- Webots notes day 2
- Unity Logitech steering wheel access
- Draw on screen border in Commodore 64
- Using the command line to convert JSON to dart file in fluent
猜你喜欢
随机推荐
Chapter 12 pipeline monitoring of OpenGL super classic (version 7)
MySQL查询小工具(一)json格式的字符串字段中,替换json数组中对象的某个属性值
Preorder traversal of Li Kou 589:n fork tree
Unity Logitech steering wheel access
QT connecting external libraries
Universal Studios Singapore: a good place for a one-day parent-child tour in Singapore
Recommended cultural landmarks of these tourist attractions in Bangkok
Unity application class and data file path
Unity ontriggerenter does not call
力扣977. 有序数组的平方
[vcs+verdi joint simulation] ~ take the counter as an example
Important knowledge points in unity3d
JS 数组的排序 sort方法详解
Detailed explanation of the process of "flyingbird" small game (camera adjustment and following part)
Under what conditions does the Z-index attribute expire?
Singapore must visit these scenic spots during the Spring Festival
Marvel fan welfare: Singapore Madame Tussauds Wax Museum Marvel 4D experience Museum
Unity3d packaging and publishing APK process
Chapter 9 of OpenGL super classic (version 7): fragment processing and frame buffering
National Museum of Singapore - give you spiritual and physical satisfaction









