ECM2
This commit is contained in:
27
Assets/VolumetricLightBeam/Shaders/shadergen_pass.txt
Normal file
27
Assets/VolumetricLightBeam/Shaders/shadergen_pass.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
Pass
|
||||
{
|
||||
Cull {VLB_GEN_CULLING}
|
||||
|
||||
{VLB_GEN_PROGRAM_PRE}
|
||||
#if !defined(SHADER_API_METAL) // Removed shader model spec for Metal support https://github.com/keijiro/Cloner/commit/1120493ca2df265d450de3ec1b38a1d388468964
|
||||
#pragma target 3.0
|
||||
#endif
|
||||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
{VLB_GEN_PRAGMA_FOG}
|
||||
{VLB_GEN_PRAGMA_INSTANCING}
|
||||
{VLB_GEN_PRAGMA_MULTI_COMPILE_VARIANTS}
|
||||
|
||||
{VLB_GEN_PRE}
|
||||
|
||||
{VLB_GEN_RAYMARCHING_QUALITIES}
|
||||
|
||||
#include "ShaderDefines.cginc"
|
||||
#include "ShaderProperties.cginc"
|
||||
{VLB_GEN_SPECIFIC_INCLUDE}
|
||||
|
||||
v2f vert(vlb_appdata v) { return vertShared(v {VLB_GEN_INPUT_VS}); }
|
||||
half4 frag(v2f i) : SV_Target { return fragShared(i {VLB_GEN_INPUT_FS}); }
|
||||
|
||||
{VLB_GEN_PROGRAM_POST}
|
||||
}
|
||||
Reference in New Issue
Block a user