init
This commit is contained in:
commit
f5c1616018
679 changed files with 188502 additions and 0 deletions
55
Assets/Pixel3D/Shaders/DebugWater.shader
Normal file
55
Assets/Pixel3D/Shaders/DebugWater.shader
Normal file
|
@ -0,0 +1,55 @@
|
|||
Shader "Custom/DebugWater"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
_MainTex("Texture", 2D) = "white" {}
|
||||
_DeepColor("Deep Color", Color) = (0, 0, 1, 1)
|
||||
_ShallowColor("Shallow Color", Color) = (0, 1, 0, 1)
|
||||
_DepthFadeDist("Depth Fade Distance", Range(0, 10)) = 1
|
||||
_ShadeBitDepth ("Shade Bit Depth", Range(0, 15)) = 5
|
||||
_RefractionSpeed("Refraction Speed", Range(0, 3)) = 1
|
||||
_RefractionStrength("Refraction Strength", Range(0, 3)) = 1
|
||||
_RefractionScale("Refraction Scale", Range(0, 3)) = 1
|
||||
_RefractionDepthFix("Refraction Depth Fix", Range(0, 10)) = 1
|
||||
_DebugLevel("Debug Level", Float) = 0
|
||||
}
|
||||
|
||||
SubShader
|
||||
{
|
||||
Tags {
|
||||
"Queue" = "Transparent"
|
||||
"RenderType" = "Opaque"
|
||||
"PreviewType" = "Plane"
|
||||
}
|
||||
|
||||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
|
||||
Pass
|
||||
{
|
||||
|
||||
Tags { "LightMode" = "ForwardBase" }
|
||||
|
||||
CGPROGRAM
|
||||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
#pragma multi_compile_fwdbase
|
||||
#include "DebugWater.hlsl"
|
||||
ENDCG
|
||||
}
|
||||
|
||||
Pass
|
||||
{
|
||||
Tags { "LightMode" = "ForwardAdd" }
|
||||
|
||||
CGPROGRAM
|
||||
#pragma multi_compile_lightpass
|
||||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
#pragma multi_compile_fwdbase
|
||||
#include "DebugWater.hlsl"
|
||||
ENDCG
|
||||
}
|
||||
|
||||
UsePass "Legacy Shaders/VertexLit/SHADOWCASTER"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue