res-avatar-unity/Assets/_PoiyomiShaders/Shaders/7.3/Includes/CGI_PoiPass.cginc

263 lines
5.5 KiB
HLSL
Raw Permalink Normal View History

2023-07-16 02:51:23 +00:00
/*
USED---------------------------------------------
"_PARALLAXMAP",
"_REQUIRE_UV2",
"_SUNDISK_NONE",
"_DETAIL_MULX2",
"LOD_FADE_CROSSFADE",
"_GLOSSYREFLECTIONS_OFF",
"_METALLICGLOSSMAP",
"_COLORADDSUBDIFF_ON",
"_SPECGLOSSMAP",
"_TERRAIN_NORMAL_MAP",
"_SUNDISK_SIMPLE",
"_EMISSION",
"_COLORCOLOR_ON",
"_COLOROVERLAY_ON",
"_ALPHAMODULATE_ON",
"_SUNDISK_HIGH_QUALITY",
"_MAPPING_6_FRAMES_LAYOUT",
"_NORMALMAP"
"EFFECT_BUMP",
"BLOOM",
"BLOOM_LOW",
"GRAIN",
"DEPTH_OF_FIELD",
"USER_LUT",
"CHROMATIC_ABERRATION_LOW",
"FXAA",
"BLOOM_LENS_DIRT",
"_FADING_ON",
"CHROMATIC_ABERRATION",
"DISTORT",
"GEOM_TYPE_BRANCH",
"_SPECULARHIGHLIGHTS_OFF",
UNUSED-------------------------------------------
"_ALPHAPREMULTIPLY_ON",
"_ALPHATEST_ON",
"_SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A",
"BILLBOARD_FACE_CAMERA_POS",
"EFFECT_HUE_VARIATION",
"ETC1_EXTERNAL_ALPHA",
"GEOM_TYPE_FROND",
"GEOM_TYPE_LEAF",
"GEOM_TYPE_MESH",
"LOD_FADE_CROSSFADE",
"PIXELSNAP_ON",
"STEREO_INSTANCING_ON",
"STEREO_MULTIVIEW_ON",
"UNITY_HDR_ON",
"UNITY_SINGLE_PASS_STEREO",
"UNITY_UI_ALPHACLIP",
"UNITY_UI_CLIP_RECT",
// Post Processing Stack V1 and V2
// This is mostly just safe keeping somewhere
"FOG_OFF",
"FOG_LINEAR",
"FOG_EXP",
"FOG_EXP2",
"ANTI_FLICKER",
"UNITY_COLORSPACE_GAMMA",
"SOURCE_GBUFFER",
"AUTO_KEY_VALUE",
"DITHERING",
"TONEMAPPING_NEUTRAL",
"TONEMAPPING_FILMIC",
"DEPTH_OF_FIELD_COC_VIEW",
"COLOR_GRADING",
"COLOR_GRADING_LOG_VIEW",
"VIGNETTE_CLASSIC",
"VIGNETTE_MASKED",
"",
"FXAA_LOW",
"FXAA_KEEP_ALPHA",
"STEREO_INSTANCING_ENABLED",
"STEREO_DOUBLEWIDE_TARGET",
"TONEMAPPING_ACES",
"TONEMAPPING_CUSTOM",
"APPLY_FORWARD_FOG",
"VIGNETTE",
"FINALPASS",
"COLOR_GRADING_HDR_3D",
"COLOR_GRADING_HDR",
"AUTO_EXPOSURE"
DO NOT USE-------------------------------
DISTORT,
TODO: _ALPHAMODULATE_ON
*/
#ifndef POI_PASS
#define POI_PASS
#include "UnityCG.cginc"
#include "Lighting.cginc"
#include "UnityPBSLighting.cginc"
#include "AutoLight.cginc"
#ifdef POI_META_PASS
#include "UnityMetaPass.cginc"
#endif
#include "CGI_PoiMacros.cginc"
#include "CGI_PoiDefines.cginc"
#include "CGI_Poicludes.cginc"
#include "CGI_PoiHelpers.cginc"
#ifdef _SUNDISK_NONE
#include "CGI_PoiRandom.cginc"
#endif
#ifdef _REQUIRE_UV2
#include "CGI_PoiMirror.cginc"
#endif
#include "CGI_PoiVertexManipulations.cginc"
#include "CGI_PoiSpawnInVert.cginc"
#include "CGI_PoiV2F.cginc"
#ifdef BLOOM_LOW
#include "CGI_PoiBulge.cginc"
#endif
#include "CGI_PoiVert.cginc"
#ifdef TESSELATION
#include "CGI_PoiTessellation.cginc"
#endif
#ifdef CUTOUT
#include "CGI_PoiDithering.cginc"
#endif
#ifdef _PARALLAXMAP
#include "CGI_PoiParallax.cginc"
#endif
#ifdef USER_LUT
#include "CGI_PoiUVDistortion.cginc"
#endif
#include "CGI_PoiData.cginc"
#ifdef _SPECULARHIGHLIGHTS_OFF
#include "CGI_PoiBlackLight.cginc"
#endif
#include "CGI_PoiSpawnInFrag.cginc"
#ifdef WIREFRAME
#include "CGI_PoiWireframe.cginc"
#endif
#ifdef DISTORT
#include "CGI_PoiDissolve.cginc"
#endif
#ifdef DEPTH_OF_FIELD
#include "CGI_PoiHologram.cginc"
#endif
#ifdef FXAA
#include "CGI_PoiRGBMask.cginc"
#endif
#ifdef BLOOM_LENS_DIRT
#include "CGI_PoiIridescence.cginc"
#endif
#ifdef FUR
#include "CGI_PoiFur.cginc"
#include "CGI_PoiGeomFur.cginc"
#endif
#include "CGI_PoiMainTex.cginc"
#ifdef GEOM_TYPE_BRANCH
#include "CGI_PoiDecal.cginc"
#endif
#ifdef CHROMATIC_ABERRATION
#include "CGI_PoiVoronoi.cginc"
#endif
#ifdef _DETAIL_MULX2
#include "CGI_PoiPanosphere.cginc"
#endif
#ifdef EFFECT_BUMP
#include "CGI_PoiMSDF.cginc"
#endif
#ifdef GRAIN
#include "CGI_PoiDepthColor.cginc"
#endif
#ifdef LOD_FADE_CROSSFADE
#include "CGI_PoiLighting.cginc"
#endif
#ifdef _SUNDISK_HIGH_QUALITY
#include "CGI_PoiFlipbook.cginc"
#endif
#ifdef _GLOSSYREFLECTIONS_OFF
#include "CGI_PoiRimlighting.cginc"
#endif
#ifdef _MAPPING_6_FRAMES_LAYOUT
#include "CGI_PoiEnvironmentalRimLighting.cginc"
#endif
#ifdef _METALLICGLOSSMAP
#include "CGI_PoiMetal.cginc"
#endif
#ifdef _COLORADDSUBDIFF_ON
#include "CGI_PoiMatcap.cginc"
#endif
#ifdef _SPECGLOSSMAP
#include "CGI_PoiSpecular.cginc"
#endif
#ifdef BLOOM
#include "CGI_PoiVideo.cginc"
#endif
#ifdef _TERRAIN_NORMAL_MAP
#include "CGI_PoiSubsurfaceScattering.cginc"
#endif
#ifdef POI_GRABS_ASS
#include "CGI_PoiBlending.cginc"
#include "CGI_PoiGrab.cginc"
#endif
#ifdef _SUNDISK_SIMPLE
#include "CGI_PoiGlitter.cginc"
#endif
#ifdef _EMISSION
#include "CGI_PoiEmission.cginc"
#endif
#ifdef _COLORCOLOR_ON
#include "CGI_PoiClearCoat.cginc"
#endif
#ifdef CUTOUT
#include "CGI_PoiAlphaToCoverage.cginc"
#endif
#ifdef _COLOROVERLAY_ON
#include "CGI_PoiDebug.cginc"
#endif
#include "CGI_PoiFrag.cginc"
#endif