Integrate Aetheria reactive state worktree
This commit is contained in:
parent
426cd8f656
commit
65133ac8a0
61 changed files with 3427 additions and 402 deletions
68
Assets/Shaders/AetheriaRenderSplats.shader
Normal file
68
Assets/Shaders/AetheriaRenderSplats.shader
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
Shader "Aetheria/Render Splats"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
_ValueScale("Value Scale", Float) = 1
|
||||
}
|
||||
|
||||
SubShader
|
||||
{
|
||||
Tags { "RenderType" = "Transparent" "Queue" = "Transparent" }
|
||||
|
||||
Pass
|
||||
{
|
||||
Name "Add"
|
||||
Cull Off
|
||||
ZWrite Off
|
||||
ZTest Always
|
||||
BlendOp Add
|
||||
Blend One One
|
||||
|
||||
HLSLPROGRAM
|
||||
#pragma target 4.5
|
||||
#pragma vertex Vert
|
||||
#pragma fragment Frag
|
||||
#include "UnityCG.cginc"
|
||||
#define AETHERIA_SPLAT_PASS
|
||||
#include "AetheriaRenderSplatsCore.hlsl"
|
||||
ENDHLSL
|
||||
}
|
||||
|
||||
Pass
|
||||
{
|
||||
Name "Max"
|
||||
Cull Off
|
||||
ZWrite Off
|
||||
ZTest Always
|
||||
BlendOp Max
|
||||
Blend One One
|
||||
|
||||
HLSLPROGRAM
|
||||
#pragma target 4.5
|
||||
#pragma vertex Vert
|
||||
#pragma fragment Frag
|
||||
#include "UnityCG.cginc"
|
||||
#define AETHERIA_SPLAT_PASS
|
||||
#include "AetheriaRenderSplatsCore.hlsl"
|
||||
ENDHLSL
|
||||
}
|
||||
|
||||
Pass
|
||||
{
|
||||
Name "Alpha"
|
||||
Cull Off
|
||||
ZWrite Off
|
||||
ZTest Always
|
||||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
|
||||
HLSLPROGRAM
|
||||
#pragma target 4.5
|
||||
#pragma vertex Vert
|
||||
#pragma fragment Frag
|
||||
#include "UnityCG.cginc"
|
||||
#define AETHERIA_SPLAT_PASS
|
||||
#include "AetheriaRenderSplatsCore.hlsl"
|
||||
ENDHLSL
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue