This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
EveUnity/packages/org.gamecult.eve.unity-scene/Runtime/Fields/EveFieldsSplats.shader
2026-07-10 15:37:39 +01:00

49 lines
1.3 KiB
Text

Shader "Eve/Fields/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"
#include "EveFieldsSplatsCore.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"
#include "EveFieldsSplatsCore.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"
#include "EveFieldsSplatsCore.hlsl"
ENDHLSL
}
}
}