unity 自定义shader坐标变换矩阵
Shader "Coustom/XYZShader"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
_MoveOffset("MoveOffset",vector)=(1,1,1,1)
_Scale("Scale",vector)=(1,1,1,1)
_Rotate("RotateAngle",vector) = (0,0,0,1)
}
SubShader
{
Blend SrcAlpha OneMinusSrcAl.
原创
2020-09-16 16:13:46 ·
711 阅读 ·
0 评论