SAIMA/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_SimpleDivideOpNode.shader
Roman d1d6ad1c2a 1.导入马骨骼
2.测试IK成功
3.导入必要的插件:InputSystem、CinemaMachine、Dotween、ASE、Odin

好累啊,下班
2022-07-18 23:15:27 +08:00

30 lines
421 B
Plaintext

Shader "Hidden/SimpleDivideOpNode"
{
Properties
{
_A ("_A", 2D) = "white" {}
_B ("_B", 2D) = "white" {}
}
SubShader
{
Pass
{
CGPROGRAM
#include "UnityCG.cginc"
#pragma vertex vert_img
#pragma fragment frag
sampler2D _A;
sampler2D _B;
float4 frag( v2f_img i ) : SV_Target
{
float4 a = tex2D( _A, i.uv );
float4 b = tex2D( _B, i.uv );
return a / b;
}
ENDCG
}
}
}