Shader "yum_food/3ner" { // Certain parts of the Properties below are derived from Poiyomi's toon // shader. The license is available in this repository at the top of // poi.cginc. C. Properties { [HideInInspector] shader_master_label("2ner", Float) = 0 [HideInInspector] shader_is_using_thry_editor("", Float) = 0 [HideInInspector] shader_presets("ThryPresetsExample", Float) = 0 [HideInInspector] shader_properties_label_file("ThryLabelExample", Float) = 0 //ifex _ShaderOptimizerEnabled==0 [HideInInspector] _ForgotToLockMaterial(";;YOU_FORGOT_TO_LOCK_THE_MATERIAL;", Int) = 0 //endex [ThryShaderOptimizerLockButton] _ShaderOptimizerEnabled("", Int) = 0 [ThryWideEnum(Opaque, 0, Cutout, 1, TransClipping, 9, Fade, 2, Transparent, 3, Additive, 4, Soft Additive, 5, Multiplicative, 6, 2x Multiplicative, 7)]_Mode("Rendering Preset--{on_value_actions:[ {value:0,actions:[{type:SET_PROPERTY,data:render_queue=2000},{type:SET_PROPERTY,data:_AlphaForceOpaque=1}, {type:SET_PROPERTY,data:render_type=Opaque}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0}, {type:SET_PROPERTY,data:_SrcBlend=1}, {type:SET_PROPERTY,data:_DstBlend=0}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1}, {type:SET_PROPERTY,data:_AddSrcBlend=1}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0}, {type:SET_PROPERTY,data:_ZWrite=1}, {type:SET_PROPERTY,data:_ZTest=4}, {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=1}, {type:SET_PROPERTY,data:_OutlineDstBlend=0}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=0}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]}, {value:1,actions:[{type:SET_PROPERTY,data:render_queue=2450},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=TransparentCutout}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=.5}, {type:SET_PROPERTY,data:_SrcBlend=1}, {type:SET_PROPERTY,data:_DstBlend=0}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1}, {type:SET_PROPERTY,data:_AddSrcBlend=1}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0}, {type:SET_PROPERTY,data:_ZWrite=1}, {type:SET_PROPERTY,data:_ZTest=4}, {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=1}, {type:SET_PROPERTY,data:_OutlineDstBlend=0}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]}, {value:9,actions:[{type:SET_PROPERTY,data:render_queue=2460},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=TransparentCutout}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0.01}, {type:SET_PROPERTY,data:_SrcBlend=5}, {type:SET_PROPERTY,data:_DstBlend=10}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1}, {type:SET_PROPERTY,data:_AddSrcBlend=5}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0}, {type:SET_PROPERTY,data:_ZWrite=1}, {type:SET_PROPERTY,data:_ZTest=4}, {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=5}, {type:SET_PROPERTY,data:_OutlineDstBlend=10}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]}, {value:2,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0.002}, {type:SET_PROPERTY,data:_SrcBlend=5}, {type:SET_PROPERTY,data:_DstBlend=10}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1}, {type:SET_PROPERTY,data:_AddSrcBlend=5}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0}, {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4}, {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=5}, {type:SET_PROPERTY,data:_OutlineDstBlend=10}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]}, {value:3,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0}, {type:SET_PROPERTY,data:_SrcBlend=1}, {type:SET_PROPERTY,data:_DstBlend=10}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1}, {type:SET_PROPERTY,data:_AddSrcBlend=1}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0}, {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4}, {type:SET_PROPERTY,data:_AlphaPremultiply=1}, {type:SET_PROPERTY,data:_OutlineSrcBlend=1}, {type:SET_PROPERTY,data:_OutlineDstBlend=10}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]}, {value:4,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0}, {type:SET_PROPERTY,data:_SrcBlend=1}, {type:SET_PROPERTY,data:_DstBlend=1}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1}, {type:SET_PROPERTY,data:_AddSrcBlend=1}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0}, {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4}, {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=1}, {type:SET_PROPERTY,data:_OutlineDstBlend=1}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]}, {value:5,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0}, {type:SET_PROPERTY,data:_SrcBlend=4}, {type:SET_PROPERTY,data:_DstBlend=1}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1}, {type:SET_PROPERTY,data:_AddSrcBlend=4}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0}, {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4}, {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=4}, {type:SET_PROPERTY,data:_OutlineDstBlend=1}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]}, {value:6,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0}, {type:SET_PROPERTY,data:_SrcBlend=2}, {type:SET_PROPERTY,data:_DstBlend=0}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1}, {type:SET_PROPERTY,data:_AddSrcBlend=2}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0}, {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4}, {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=2}, {type:SET_PROPERTY,data:_OutlineDstBlend=0}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]}, {value:7,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0}, {type:SET_PROPERTY,data:_SrcBlend=2}, {type:SET_PROPERTY,data:_DstBlend=3}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1}, {type:SET_PROPERTY,data:_AddSrcBlend=2}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0}, {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4}, {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=2}, {type:SET_PROPERTY,data:_OutlineDstBlend=3}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]} }]}]}", Int) = 0 [HideInInspector] m_start_Main("Main", Float) = 0 _MainTex("Base color", 2D) = "white" {} _Color("Tint", Color) = (1, 1, 1, 1) _BumpMap("Normal", 2D) = "bump" {} _BumpScale("Normal Scale", Float) = 1 _MetallicGlossMap("Metallic (r) smoothness (a)", 2D) = "white" {} _Metallic("Metallic", Range(0, 1)) = 0 _Glossiness("Smoothness", Range(0, 1)) = 0.5 //ifex _Details_Enabled==0 [HideInInspector] m_start_Details("Details", Float) = 0 [ThryToggle(_DETAILS)] _Details_Enabled("Enable", Float) = 0 _DetailNormalMap("Normal", 2D) = "bump" {} _DetailNormalMapScale("Normal Scale", Float) = 1 _DetailMask("Mask", 2D) = "white" {} [IntRange] _Details_UV_Channel("UV Channel", Range(0, 3)) = 0 [HideInInspector] m_end_Details("Details", Float) = 0 //endex [HideInInspector] m_end_Main("Main", Float) = 0 [HideInInspector] m_start_Gimmicks("Gimmicks", Float) = 0 //ifex _Geometry_Shader_Enabled==0 [HideInInspector] m_start_Geometry_Shader("Geometry Shader", Float) = 0 [ThryToggle(_GEOMETRY_SHADER)] _Geometry_Shader_Enabled("Enable", Float) = 0 //ifex _Center_Offset_Enabled==0 [HideInInspector] m_start_Center_Offset("Center offset", Float) = 0 [ThryToggle(_CENTER_OFFSET)] _Center_Offset_Enabled("Enable", Float) = 0 _Center_Offset_Heightmap("Heightmap", 2D) = "black" {} _Center_Offset_Factor("Factor", Range(-1, 1)) = 1 [HideInInspector] m_end_Center_Offset("Center offset", Float) = 0 //endex [HideInInspector] m_end_Geometry_Shader("Geometry Shader", Float) = 0 //endex //ifex _Ray_Marching_Enabled==0 [HideInInspector] m_start_Ray_Marching("Ray Marching", Float) = 0 [ThryToggle(_RAY_MARCHING)] _Ray_Marching_Enabled("Enable", Float) = 0 _Ray_Marching_Max_Dist("Max dist", Float) = 1 _Ray_Marching_Min_Dist("Min dist", Float) = 0.0001 _Ray_Marching_Max_Iter("Max iterations", Range(0,50)) = 10 //ifex _Ray_Marching_Overstepping_Enabled==0 [HideInInspector] m_start_Ray_Marching_Overstepping("Overstepping", Float) = 0 [ThryToggle(_RAY_MARCHING_OVERSTEP)] _Ray_Marching_Overstepping_Enabled("Enable", Float) = 0 _Ray_Marching_Overstepping_Factor("Factor", Range(1,5)) = 1.3 [HideInInspector] m_end_Ray_Marching_Overstepping("Overstepping", Float) = 0 //endex //ifex _Ray_Marching_Correct_Repetition_Enabled==0 [HideInInspector] m_start_Ray_Marching_Correct_Repetition("Correct Repetition", Float) = 0 [ThryToggle(_RAY_MARCHING_CORRECT_REPETITION)] _Ray_Marching_Correct_Repetition_Enabled("Enable", Float) = 0 [HideInInspector] m_end_Ray_Marching_Correct_Repetition("Correct Repetition", Float) = 0 //endex //ifex _Ray_Marching_Baked_Origins_Enabled==0 [HideInInspector] m_start_Ray_Marching_Baked_Origins("Baked Origins", Float) = 0 [ThryToggle(_RAY_MARCHING_BAKED_ORIGINS)] _Ray_Marching_Baked_Origins_Enabled("Enable", Float) = 0 [IntRange] _Baked_Origins_UV_Channel_Index("UV Channel Index", Range(0, 3)) = 1 [HideInInspector] m_end_Ray_Marching_Baked_Origins("Baked Origins", Float) = 0 //endex [HideInInspector] m_start_Ray_Marching_Instancing("Instancing and domain repetition", Float) = 0 //ifex _Ray_Marching_Cart_Instancing_Enabled==0 [HideInInspector] m_start_Ray_Marching_Cart_Instancing("Cartesian Instancing", Float) = 0 [ThryToggle(_RAY_MARCHING_CART_INSTANCING)] _Ray_Marching_Cart_Instancing_Enabled("Enable", Float) = 0 [IntRange] _Ray_Marching_Cart_Instancing_Count_X("Count X", Range(1,3)) = 1 [IntRange] _Ray_Marching_Cart_Instancing_Count_Y("Count Y", Range(1,3)) = 1 [IntRange] _Ray_Marching_Cart_Instancing_Count_Z("Count Z", Range(1,3)) = 1 _Ray_Marching_Cart_Instancing_Span_X("Span X", Range(0,2)) = 0.1 _Ray_Marching_Cart_Instancing_Span_Y("Span Y", Range(0,2)) = 0.1 _Ray_Marching_Cart_Instancing_Span_Z("Span Z", Range(0,2)) = 0.1 //ifex _Ray_Marching_Cart_Instancing_Offsets_Enabled==0 [HideInInspector] m_start_Ray_Marching_Cart_Instancing_Offsets("Offsets", Float) = 0 [ThryToggle(_RAY_MARCHING_CART_INSTANCING_OFFSETS)] _Ray_Marching_Cart_Instancing_Offsets_Enabled("Enable", Float) = 0 _Ray_Marching_Cart_Instancing_Offsets_X_Every_Y("X every Y", Range(0,1)) = 0 _Ray_Marching_Cart_Instancing_Offsets_X_Every_Z("X every Z", Range(0,1)) = 0 _Ray_Marching_Cart_Instancing_Offsets_Y_Every_X("Y every X", Range(0,1)) = 0 _Ray_Marching_Cart_Instancing_Offsets_Y_Every_Z("Y every Z", Range(0,1)) = 0 _Ray_Marching_Cart_Instancing_Offsets_Z_Every_X("Z every X", Range(0,1)) = 0 _Ray_Marching_Cart_Instancing_Offsets_Z_Every_Y("Z every Y", Range(0,1)) = 0 [HideInInspector] m_end_Ray_Marching_Cart_Instancing_Offsets("Offsets", Float) = 0 //endex [HideInInspector] m_end_Ray_Marching_Cart_Instancing("Cartesian Instancing", Float) = 0 //endex //ifex _Ray_Marching_Cart_Grid_Enabled==0 [HideInInspector] m_start_Ray_Marching_Cart_Grid("Cartesian Domain Repetition", Float) = 0 [ThryToggle(_RAY_MARCHING_CART_GRID)] _Ray_Marching_Cart_Grid_Enabled("Enable", Float) = 0 [IntRange] _Ray_Marching_Cart_Grid_Count_X("Count X", Range(0,40)) = 5 [IntRange] _Ray_Marching_Cart_Grid_Count_Y("Count Y", Range(0,40)) = 5 [IntRange] _Ray_Marching_Cart_Grid_Count_Z("Count Z", Range(0,40)) = 5 _Ray_Marching_Cart_Grid_Span_X("Span X", Range(0,40)) = 0.1 _Ray_Marching_Cart_Grid_Span_Y("Span Y", Range(0,40)) = 0.1 _Ray_Marching_Cart_Grid_Span_Z("Span Z", Range(0,40)) = 0.1 [HideInInspector] m_end_Ray_Marching_Cart_Grid("Cartesian Domain Repetition", Float) = 0 //endex //ifex _Ray_Marching_Hex_Grid_Enabled==0 [HideInInspector] m_start_Ray_Marching_Hex_Grid("Hexagonal Domain Repetition", Float) = 0 [ThryToggle(_RAY_MARCHING_HEX_GRID)] _Ray_Marching_Hex_Grid_Enabled("Enable", Float) = 0 _Ray_Marching_Hex_Grid_Count("CountX", Range(0,40)) = 5 [HideInInspector] m_end_Ray_Marching_Hex_Grid("Hexagonal Domain Repetition", Float) = 0 //endex [HideInInspector] m_end_Ray_Marching_Instancing("Instancing and domain repetition", Float) = 0 //ifex _Ray_Marching_Scaling_Enabled==0 [HideInInspector] m_start_Ray_Marching_Scaling("Scaling", Float) = 0 [ThryToggle(_RAY_MARCHING_SCALING)] _Ray_Marching_Scaling_Enabled("Enable", Float) = 0 _Ray_Marching_Scaling_Factor_X("Factor X", Range(0.9,1.1)) = 1 _Ray_Marching_Scaling_Factor_Y("Factor Y", Range(0.9,1.1)) = 1 _Ray_Marching_Scaling_Factor_Z("Factor Z", Range(0.9,1.1)) = 1 [HideInInspector] m_end_Ray_Marching_Scaling("Scaling", Float) = 0 //endex [HideInInspector] m_start_Ray_Marching_Primitives("Primitives", Float) = 0 //ifex _Ray_Marching_Ball_Enabled==0 [HideInInspector] m_start_Ray_Marching_Ball("Ball", Float) = 0 [ThryToggle(_RAY_MARCHING_BALL)] _Ray_Marching_Ball_Enabled("Enable", Float) = 0 _Ray_Marching_Ball_Radius("Radius", Range(0,1)) = 1 [HideInInspector] m_end_Ray_Marching_Ball("Ball", Float) = 0 //endex //ifex _Ray_Marching_Hexagon_Enabled==0 [HideInInspector] m_start_Ray_Marching_Hexagon("Hexagon", Float) = 0 [ThryToggle(_RAY_MARCHING_HEXAGON)] _Ray_Marching_Hexagon_Enabled("Enable", Float) = 0 _Ray_Marching_Hexagon_Radius("Radius", Range(0,1)) = 0.1 _Ray_Marching_Hexagon_Height("Height", Range(0,1)) = 0.1 [HideInInspector] m_end_Ray_Marching_Hexagon("Hexagon", Float) = 0 //endex [HideInInspector] m_end_Ray_Marching_Primitives("Primitives", Float) = 0 [HideInInspector] m_end_Ray_Marching("Ray Marching", Float) = 0 //endex //ifex _Logical_Time_Enabled==0 [HideInInspector] m_start_Logical_Time("Logical Time", Float) = 0 [ThryToggle(_LOGICAL_TIME)] _Logical_Time_Enabled("Enable", Float) = 0 _Logical_Time("Time", Float) = 0 [HideInInspector] m_end_Logical_Time("Logical Time", Float) = 0 //endex //ifex _Vertex_Deformation_Enabled==0 [HideInInspector] m_start_Vertex_Deformation("Vertex Deformation", Float) = 0 [ThryToggle(_VERTEX_DEFORMATION)] _Vertex_Deformation_Enabled("Enable", Float) = 0 [ThryToggle(_VERTEX_DEFORMATION_FRAGMENT_NORMALS)] _Vertex_Deformation_Fragment_Normals_Enabled("Fragment normals", Float) = 0 [ThryToggle(_VERTEX_DEFORMATION_TESSELLATION)] _Vertex_Deformation_Tessellation_Enabled("Tesellation support", Float) = 1 _Vertex_Deformation_Slot_0_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_0_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_0_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_0_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_0_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_0_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_0_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_0_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_0_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_0_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_1_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_1_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_1_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_1_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_1_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_1_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_1_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_1_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_1_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_1_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_2_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_2_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_2_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_2_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_2_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_2_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_2_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_2_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_2_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_2_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_3_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_3_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_3_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_3_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_3_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_3_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_3_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_3_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_3_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_3_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_4_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_4_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_4_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_4_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_4_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_4_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_4_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_4_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_4_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_4_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_5_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_5_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_5_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_5_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_5_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_5_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_5_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_5_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_5_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_5_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_6_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_6_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_6_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_6_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_6_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_6_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_6_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_6_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_6_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_6_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_7_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_7_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_7_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_7_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_7_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_7_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_7_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_7_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_7_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_7_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_8_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_8_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_8_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_8_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_8_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_8_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_8_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_8_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_8_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_8_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_9_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_9_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_9_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_9_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_9_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_9_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_9_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_9_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_9_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_9_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_10_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_10_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_10_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_10_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_10_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_10_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_10_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_10_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_10_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_10_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_11_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_11_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_11_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_11_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_11_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_11_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_11_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_11_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_11_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_11_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_12_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_12_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_12_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_12_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_12_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_12_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_12_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_12_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_12_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_12_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_13_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_13_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_13_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_13_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_13_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_13_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_13_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_13_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_13_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_13_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_14_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_14_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_14_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_14_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_14_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_14_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_14_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_14_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_14_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_14_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_15_Enabled("Enabled", Float) = 0 _Vertex_Deformation_Slot_15_Opcode("Opcode", Integer) = 0 _Vertex_Deformation_Slot_15_Float_0("Float 0", Float) = 0 _Vertex_Deformation_Slot_15_Float_1("Float 1", Float) = 0 _Vertex_Deformation_Slot_15_Float_2("Float 2", Float) = 0 _Vertex_Deformation_Slot_15_Float_3("Float 3", Float) = 0 _Vertex_Deformation_Slot_15_Vector_0("Vector 0", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_15_Vector_1("Vector 1", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_15_Vector_2("Vector 2", Vector) = (0, 0, 0, 0) _Vertex_Deformation_Slot_15_Vector_3("Vector 3", Vector) = (0, 0, 0, 0) [HideInInspector] m_end_Vertex_Deformation("Vertex Deformation", Float) = 0 //endex //ifex _UV_Scroll_Enabled==0 [HideInInspector] m_start_UV_Scroll("UV Scroll", Float) = 0 [ThryToggle(_UV_SCROLL)] _UV_Scroll_Enabled("Enable", Float) = 0 _UV_Scroll_Speed("Speed (u, v, 0, 0)", Vector) = (0, -1, 0, 0) [HideInInspector] m_end_UV_Scroll("UV Scroll", Float) = 0 //endex //ifex _Marble_Enabled==0 [HideInInspector] m_start_Marble("Marble", Float) = 0 [ThryToggle(_MARBLE)] _Marble_Enabled("Enable", Float) = 0 [Gradient] _Marble_U_Ramp("U Ramp", 2D) = "white" {} [Gradient] _Marble_V_Ramp("V Ramp", 2D) = "white" {} [Gradient] _Marble_W_Ramp("W Ramp", 2D) = "white" {} _Marble_Scale("Scale", Vector) = (1, 1, 1, 0) _Marble_Strength("Strength", Float) = 1 _Marble_Octaves("Octaves", Range(1, 10)) = 3 [HideInInspector] m_end_Marble("Marble", Float) = 0 //endex //ifex _Impostors_Enabled==0 [HideInInspector] m_start_Impostors("Impostors", Float) = 0 [ThryToggle(_IMPOSTORS)] _Impostors_Enabled("Enable", Float) = 0 _Impostors_Atlas("Atlas", 2D) = "white" {} _Impostors_Normal_Atlas("Normal Atlas", 2D) = "bump" {} _Impostors_Metallic_Gloss_Atlas("Metallic Gloss Atlas", 2D) = "white" {} _Impostors_Depth_Atlas("Depth Atlas", 2D) = "white" {} _Impostors_Grid_Resolution("Grid Resolution", Int) = 5 _Impostors_Sphere_Radius("Sphere Radius", Float) = 1.0 _Impostors_Near_Clip("Near clip distance", Float) = 0.01 _Impostors_Far_Clip("Far clip distance", Float) = 1.0 _Impostors_Cutoff("Alpha Cutoff", Range(0, 1)) = 0.5 _Impostors_Parallax("Parallax Strength", Range(0, 1)) = 1 [Toggle] _Impostors_Debug_Mode("Debug Mode", Float) = 0 [Toggle] _Impostors_Debug_Depth("Debug Depth", Float) = 0 [HideInInspector] m_end_Impostors("Impostors", Float) = 0 //endex [HideInInspector] m_end_Gimmicks("Gimmicks", Float) = 0 //ifex _Tessellation_Enabled==0 [HideInInspector] m_start_Tessellation("Tessellation", Float) = 0 [ThryToggle(_TESSELLATION)] _Tessellation_Enabled("Enable", Float) = 0 _Tessellation_Factor("Factor", Range(1, 64)) = 1 _Tessellation_Frustum_Culling_Bias("Frustum culling bias", Float) = 35 _Tessellation_Falloff_Factor("Falloff factor", Float) = 0.05 // Shit for thry [HideInInspector] Tessellation_Enabled("Enabled", Float) = 1 [HideInInspector] Tessellation_EnabledForwardBase("Enabled (ForwardBase)", Float) = 1 [HideInInspector] Tessellation_EnabledForwardAdd("Enabled (ForwardAdd)", Float) = 1 [HideInInspector] Tessellation_EnabledShadowCaster("Enabled (ShadowCaster)", Float) = 1 [HideInInspector] m_end_Tessellation("Tessellation", Float) = 0 //endex [HideInInspector] m_start_Rendering_Options("Rendering Options", Float) = 0 [HideInInspector] m_start_Debug_Views("Debug Views", Float) = 0 [ThryToggle(_DEBUG_VIEW_UNLIT)] _Debug_View_Unlit("Unlit", Float) = 0 [ThryToggle(_DEBUG_VIEW_WORLD_SPACE_NORMALS)] _Debug_View_World_Space_Normals("World space normals", Float) = 0 [ThryToggle(_DEBUG_VIEW_METALLIC_GLOSS)] _Debug_View_Metallic_Gloss("Metallic gloss", Float) = 0 [ThryToggle(_DEBUG_VIEW_DEPTH)] _Debug_View_Depth("Depth", Float) = 0 [HideInInspector] m_end_Debug_Views("Debug Views", Float) = 0 [DoNotAnimate][HideInInspector] Instancing ("Instancing", Float) = 0 //ifex Instancing==0 [HideInInspector] m_start_Instancing("Instancing", Float) = 0 //ifex _Instance_Distance_Culling_Enabled [HideInInspector] m_start_Instance_Distance_Culling("Distance Culling", Float) = 0 [ThryToggle(_INSTANCE_DISTANCE_CULLING)] _Instance_Distance_Culling_Enabled("Enable", Float) = 0 _Instance_Distance_Culling_Distance("Distance (m)", Float) = 10 [HideInInspector] m_end_Instance_Distance_Culling("Instance Distance Culling", Float) = 0 //endex [HideInInspector] m_end_Instancing("Instancing", Float) = 0 //endex //ifex _Parallax_Heightmap_Enabled==0 [HideInInspector] m_start_Parallax_Heightmap("Parallax Heightmap", Float) = 0 [ThryToggle(_PARALLAX_HEIGHTMAP)] _Parallax_Heightmap_Enabled("Enable", Float) = 0 _Parallax_Heightmap("Heightmap", 2D) = "gray" {} _Parallax_Heightmap_Scale("Scale", Float) = 1 _Parallax_Heightmap_Bias("Neutral point", Float) = 0.5 //ifex _Parallax_Heightmap_Ray_Marching_Enabled==0 [HideInInspector] m_start_Parallax_Heightmap_Ray_Marching("Parallax Heightmap Ray Marching", Float) = 0 [ThryToggle(_PARALLAX_HEIGHTMAP_RAY_MARCHING)] _Parallax_Heightmap_Ray_Marching_Enabled("Enable", Float) = 0 [IntRange] _Parallax_Heightmap_Ray_Marching_Steps("Steps", Range(1, 10)) = 5 [HideInInspector] m_end_Parallax_Heightmap_Ray_Marching("Parallax Heightmap Ray Marching", Float) = 0 //endex [HideInInspector] m_end_Parallax_Heightmap("Parallax Heightmap", Float) = 0 //endex //ifex _Shadow_Caster_Enabled==0 [HideInInspector] m_start_Shadow_Caster("Shadow caster pass", Float) = 0 [ThryToggle(_SHADOW_CASTER)] _Shadow_Caster_Enabled("Enable", Float) = 1 [HideInInspector] m_end_Shadow_Caster("Shadow caster pass", Float) = 0 //endex [HideInInspector] m_start_BRDF("BRDF", Float) = 0 _DFG_LUT("DFG LUT", 2D) = "white" {} _BRDF_Specular_Min_Denom("Specular minimum denominator", Float) = 0.000001 _Specular_AA_Variance("Specular AA Variance", Float) = 0.15 _Specular_AA_Threshold("Specular AA Threshold", Float) = 0.25 //ifex _Clearcoat_Enabled==0 [HideInInspector] m_start_Clearcoat("Clearcoat", Float) = 0 [ThryToggle(_CLEARCOAT)] _Clearcoat_Enabled("Enable", Float) = 0 _Clearcoat_Strength("Strength", Range(0, 1)) = 0 _Clearcoat_Roughness("Roughness", Range(0, 1)) = 0 //ifex _Clearcoat_Mask_Enabled==0 [HideInInspector] m_start_Clearcoat_Mask("Clearcoat Mask", Float) = 0 [ThryToggle(_CLEARCOAT_MASK)] _Clearcoat_Mask_Enabled("Enable", Float) = 0 _Clearcoat_Mask("Mask", 2D) = "white" {} [HideInInspector] m_end_Clearcoat_Mask("Clearcoat Mask", Float) = 0 //endex [HideInInspector] m_end_Clearcoat("Clearcoat", Float) = 0 //endex //ifex _Cloth_Sheen_Enabled==0 [HideInInspector] m_start_Cloth_Sheen("Cloth Sheen", Float) = 0 [ThryToggle(_CLOTH_SHEEN)] _Cloth_Sheen_Enabled("Enable", Float) = 0 _Cloth_Sheen_DFG_LUT("Cloth DFG LUT", 2D) = "white" {} _Cloth_Sheen_Strength("Strength", Range(0, 1)) = 0 _Cloth_Sheen_Color("Color", Color) = (1, 1, 1, 1) [HideInInspector] m_end_Cloth_Sheen("Cloth Sheen", Float) = 0 //endex [HideInInspector] m_end_BRDF("BRDF", Float) = 0 [HideInInspector] m_start_blending ("Blending--{button_help:{text:Tutorial,action:{type:URL,data:https://www.poiyomi.com/rendering/blending},hover:Documentation}}", Float) = 0 [DoNotAnimate][Enum(Thry.BlendOp)]_BlendOp ("RGB Blend Op", Int) = 0 [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _SrcBlend ("RGB Source Blend", Int) = 1 [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _DstBlend ("RGB Destination Blend", Int) = 0 [DoNotAnimate][Space][ThryHeaderLabel(Additive Blending, 13)] [DoNotAnimate][Enum(Thry.BlendOp)]_AddBlendOp ("RGB Blend Op", Int) = 0 [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _AddSrcBlend ("RGB Source Blend", Int) = 1 [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _AddDstBlend ("RGB Destination Blend", Int) = 1 [DoNotAnimate][HideInInspector] m_start_alphaBlending ("Advanced Alpha Blending", Float) = 0 [DoNotAnimate][Enum(Thry.BlendOp)]_BlendOpAlpha ("Alpha Blend Op", Int) = 0 [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _SrcBlendAlpha ("Alpha Source Blend", Int) = 1 [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _DstBlendAlpha ("Alpha Destination Blend", Int) = 10 [DoNotAnimate][Space][ThryHeaderLabel(Additive Blending, 13)] [DoNotAnimate][Enum(Thry.BlendOp)]_AddBlendOpAlpha ("Alpha Blend Op", Int) = 4 [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _AddSrcBlendAlpha ("Alpha Source Blend", Int) = 0 [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _AddDstBlendAlpha ("Alpha Destination Blend", Int) = 1 [DoNotAnimate][HideInInspector] m_end_alphaBlending ("Advanced Alpha Blending", Float) = 0 [HideInInspector] m_end_blending ("Blending", Float) = 0 [Enum(UnityEngine.Rendering.CullMode)] _Cull("Cull", Float) = 2 [Enum(UnityEngine.Rendering.CompareFunction)] _ZTest("ZTest", Float) = 4 [Enum(UnityEngine.Rendering.BlendMode)] _SrcBlend("Source Blend", Float) = 1 [Enum(UnityEngine.Rendering.BlendMode)] _DstBlend("Destination Blend", Float) = 0 [Enum(Off, 0, On, 1)] _ZWrite("ZWrite", Int) = 1 [HideInInspector] m_end_Rendering_Options("Rendering Options", Float) = 0 } SubShader { Tags { "RenderType" = "Opaque" "Queue" = "Geometry" "VRCFallback" = "Standard" } Pass { Name "FORWARD" Tags { "LightMode" = "ForwardBase" } BlendOp [_BlendOp], [_BlendOpAlpha] Blend [_SrcBlend] [_DstBlend], [_SrcBlendAlpha] [_DstBlendAlpha] Cull [_Cull] ZWrite [_ZWrite] ZTest [_ZTest] CGPROGRAM #pragma target 5.0 #pragma multi_compile_fwdbase #pragma multi_compile_fullshadows #pragma multi_compile_instancing #pragma multi_compile_fog #pragma vertex vert //ifex _Geometry_Enabled==0 #pragma geometry geom //endex //ifex _Tessellation_Enabled==0 #pragma hull hull #pragma domain domain //endex #pragma fragment frag #define FORWARD_BASE_PASS #include "3ner.cginc" ENDCG } Pass { Name "ADDITIVE" Tags { "LightMode" = "ForwardAdd" } Fog { Color (0,0,0,0) } Cull [_Cull] ZWrite Off ZTest [_ZTest] BlendOp [_AddBlendOp], [_AddBlendOpAlpha] Blend [_AddSrcBlend] [_AddDstBlend], [_AddSrcBlendAlpha] [_AddDstBlendAlpha] CGPROGRAM #pragma target 5.0 #pragma multi_compile_fwdadd_fullshadows #pragma multi_compile_instancing #pragma multi_compile_fog #pragma vertex vert //ifex _Geometry_Enabled==0 #pragma geometry geom //endex //ifex _Tessellation_Enabled==0 #pragma hull hull #pragma domain domain //endex #pragma fragment frag #define FORWARD_ADD_PASS #include "3ner.cginc" ENDCG } Pass { Name "SHADOW" Tags { "LightMode" = "ShadowCaster" } Fog { Color (0,0,0,0) } Cull [_Cull] ZTest [_ZTest] CGPROGRAM #pragma target 5.0 #pragma multi_compile_instancing #pragma multi_compile_shadowcaster #pragma vertex vert //ifex _Geometry_Enabled==0 #pragma geometry geom //endex //ifex _Tessellation_Enabled==0 #pragma hull hull #pragma domain domain //endex #pragma fragment frag #define SHADOW_CASTER_PASS #include "3ner.cginc" ENDCG } } CustomEditor "Thry.ShaderEditor" }