Negin Soltani 37239732ac Initial Push
- Globe Asset
- Spatial Anchors
- Photon Implementation
- Scripts for Globe Control and Initial Country Colorizing
- Script for Reading csv file
2024-05-16 14:41:23 +02:00

36 lines
927 B
Plaintext

Shader "World Political Map/FogOfWar Pass 2" {
Properties {
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Color ("Fog Color 1", Color) = (1,1,0)
_Color2 ("Fog Color 2", Color) = (0,1,1)
_MaskTex ("Mask Texture (R)", 2D) = "white" {}
_Elevation ("_Elevation", Float) = 1.0
_Alpha ("Alpha", Float) = 1.0
_Noise ("Noise", Float) = 1.0
}
SubShader {
Tags { "RenderType"="Transparent" "Queue"="Transparent+52" "DisableBatching"="True" "ForceNoShadowCasting"="True" "IgnoreProjector"="True" }
Pass {
Stencil {
Ref 2
Comp NotEqual
Pass Keep
}
ZWrite On
ZTest Always
Blend SrcAlpha OneMinusSrcAlpha
CGPROGRAM
#define WPM_NO_MASK
#pragma vertex vert
#pragma fragment frag
#pragma target 3.0
#pragma fragmentoption ARB_precision_hint_fastest
#include "FogOfWar.cginc"
ENDCG
}
}
}