mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-28 00:07:58 +01:00
35 lines
754 B
Text
35 lines
754 B
Text
// Amplify Motion - Full-scene Motion Blur for Unity Pro
|
|
// Copyright (c) Amplify Creations, Lda <info@amplify.pt>
|
|
|
|
Shader "Hidden/Amplify Motion/MotionBlurSM2" {
|
|
Properties {
|
|
_MainTex ("Base (RGB)", 2D) = "white" {}
|
|
_MotionTex ("Motion (RGB)", 2D) = "white" {}
|
|
}
|
|
CGINCLUDE
|
|
#pragma fragmentoption ARB_precision_hint_fastest
|
|
#pragma exclude_renderers flash
|
|
|
|
#include "MotionBlurShared.cginc"
|
|
ENDCG
|
|
SubShader {
|
|
ZTest Always Cull Off ZWrite Off Fog { Mode off }
|
|
Pass {
|
|
Name "MOB"
|
|
CGPROGRAM
|
|
#pragma vertex vert
|
|
#pragma fragment frag_mobile
|
|
#pragma target 2.0
|
|
ENDCG
|
|
}
|
|
Pass {
|
|
Name "STD"
|
|
CGPROGRAM
|
|
#pragma vertex vert
|
|
#pragma fragment frag_sm2
|
|
#pragma target 2.0
|
|
ENDCG
|
|
}
|
|
}
|
|
Fallback Off
|
|
}
|