240 私信
这个人很懒,暂无签名信息
0

Voronoi算法效果

Shader "Unlit/Voronoi"{Properties{_MainTex("Texture", 2D) = "white" {}_TileNum("TileNum", float) = 5}SubShader{Tags { "RenderType" = "Opaque"...

0

三角形重叠算法

判断两个三角形是否有重合部分:1:判断两个三角形是否相交a:判断两个三小型的所有边是否存在相交2:判断两个三角形是否包含关系a:判断一个三角形的顶点和另一个三角形所有顶点连线 与 该顶点对应的边是否相交。C#代码如下:using System.Collections;using System.Collections.Generic;using UnityEngine;public class Te...

0

Unity 震屏

unity震屏通过改变Camer.rect效果比较好。using UnityEngine;using System.Collections;public class ShakeCamera : MonoBehaviour{//是否开始抖动public bool isShake = false;//抖动幅度public float shakeLv = 3;//设置抖屏的时长public float ...

0

Unity shader 碎屏效果

Shader "Unlit/BrokenScreen"{Properties{_MainTex("Texture", 2D) = "white" {}_BumpTex("BumpTex", 2D) = "white" {}_satCount("satCount",Range(0,...

0

Unity-shader 径向模糊(屏幕特效)

Shader "Unlit/Motion"{Properties{_MainTex ("Texture", 2D) = "white" {}_Level("Level",Range(0,100)) = 10}SubShader{Tags { "RenderType"="Opaque&quo...

个人介绍
暂无介绍