This commit is contained in:
SoulliesOfficial
2025-12-17 04:19:38 -05:00
parent 7c1cb7e8e1
commit d15957c719
4315 changed files with 8260710 additions and 2940 deletions

View File

@@ -0,0 +1,258 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: MarkupShaderGUIExample
m_Shader: {fileID: 4800000, guid: 6e5683512f876f74cb7f5ac80491a5ab, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords:
- _EMISSION
- _PROP1_ON
- _RECEIVE_SHADOWS_OFF
- _SURFACE_TYPE_OPAQUE
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2000
stringTagMap: {}
disabledShaderPasses:
- MOTIONVECTORS
- SHADOWCASTER
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailBumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DirectDiffuseRamp:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DirectDiffuseSSSLut:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DirectSpecularBrushedTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _IndirectSpecularCubemap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MatCap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MiniTexture:
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _: 0
- _AddPrecomputedVelocity: 0
- _AlphaClip: 0
- _AlphaClipping: 0
- _AlphaDstBlend: 0
- _AlphaSrcBlend: 1
- _AlphaToMask: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BlendingMode: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DEBUG_COLOR: 0
- _DETAIL_MAP: 0
- _DETAIL_MASK_SRC: 0
- _DIRECT_DIFFUSE: 1
- _DIRECT_DIFFUSE_RAMP: 0
- _DIRECT_DIFFUSE_SSS_CURVATURE_SRC: 0
- _DIRECT_DIFFUSE_SSS_RIM: 0
- _DIRECT_SPECULAR: 1
- _DIRECT_SPECULAR_BRUSHED_TEX: 0
- _DebugBaseMask: 0
- _DebugDirectionData: 0
- _DebugDotProduct: 0
- _DebugFinalColor: 0
- _DebugFinalHSV: 0
- _DebugGI: 0
- _DebugLightingFactor: 0
- _DebugMainLightData: 0
- _DebugPBRData: 0
- _DebugTBN: 0
- _DebugTextureColor: 0
- _DebugVertexColor: 0
- _DetailAlbedoMapScale: 1
- _DetailBumpScale: 1
- _DetailNormalMapScale: 1
- _DirectDiffuseShadowLift: 0
- _DirectSpecularBrushedNormalScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EMISSION: 1
- _EMISSION_MASK_SRC: 0
- _EndLabelsFoldout: 0
- _EnvironmentReflections: 1
- _ErrorHelpBox: 0
- _FloatRange: 0.5092593
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _INDIRECT_DIFFUSE: 1
- _INDIRECT_SPECULAR: 1
- _InfoHelpBox: 0
- _LocalMipmapBias: -1
- _MATCAP: 0
- _MATCAP_MASK_SRC: 0
- _METALLIC_SRC: 1
- _Metallic: 0
- _MultiLineVector2: 0.5
- _MultiLineVector3: 0.5
- _NORMALMAP: 0
- _OCCLUSION_SRC: 0
- _OUTLINE: 0
- _OcclusionStrength: 1
- _OutlineThickness: 0.0025
- _Parallax: 0.005
- _Prop1: 1
- _PropAbove: 0
- _PropAboveSeparator: 1
- _QueueOffset: 0
- _RIM: 0
- _Range: 0.355
- _ReceiveShadows: 1
- _RimReceiveShadows: 0.6
- _SHADOW_COLOR: 0
- _SMOOTHNESS_SRC: 4
- _SURFACE_TYPE: 0
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _Tooltip: 0
- _WarningHelpBox: 0
- _WorkflowMode: 1
- _ZTest: 4
- _ZWrite: 1
- _ZWriteMode: 0
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _DetailColor: {r: 1, g: 1, b: 1, a: 1}
- _DetailMapParams: {r: -50, g: 0, b: -1, a: 0}
- _DirectDiffuseSSSColor: {r: 1, g: 1, b: 1, a: 1}
- _DirectDiffuseSSSParams: {r: 1, g: 0.2, b: 0.66, a: 0.5}
- _DirectDiffuseSSSRimParams: {r: 0, g: 1, b: 0, a: 0}
- _DirectSpecularAnisoParams: {r: 0.25, g: 0.75, b: 1, a: 0}
- _DirectSpecularColor: {r: 1, g: 1, b: 1, a: 1}
- _DirectSpecularHairParams: {r: 1, g: 64, b: 0, a: 4}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
- _EmissionFlowDirection: {r: 0, g: 0, b: 0, a: 0}
- _IndirectDiffuseParams: {r: 1, g: 1, b: 0, a: 0}
- _IndirectSpecularParams: {r: 1, g: 0, b: 1, a: 0}
- _MultiLineVector2: {r: 0.54181814, g: 0.43272725, b: 1, a: 1}
- _MultiLineVector3: {r: 0.15708812, g: 1, b: -0.00769232, a: 1}
- _OutlineColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
- _Prop2: {r: 1, g: 1, b: 1, a: 1}
- _PropBelow: {r: 1, g: 1, b: 1, a: 1}
- _PropBelowSeparator: {r: 1, g: 1, b: 1, a: 1}
- _RimColor: {r: 1, g: 1, b: 1, a: 1}
- _RimDirection: {r: 1, g: 1, b: 0, a: 0}
- _RimParams: {r: 0, g: 1, b: 4, a: 8}
- _ShadowColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Tooltip: {r: 1, g: 1, b: 1, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!114 &19541546197782247
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 10

View File

@@ -0,0 +1,15 @@
fileFormatVersion: 2
guid: b45cac2839eab18448827a47b1ded9f7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 328765
packageName: LitPlus - URP Enhanced Lit Shader
packageVersion: 1.0.1
assetPath: Assets/GraphicsCat/Modules/MarkupShaderGUI/Examples/MarkupShaderGUIExample.mat
uploadId: 820558

View File

@@ -0,0 +1,93 @@
Shader "GraphicsCat/MarkupShaderGUI/Example"
{
Properties
{
[BeginFoldout(Foldout)]
[Toggle] _Prop1("Prop1", Float) = 1
_Prop2("Prop2", Color) = (1, 1, 1, 1)
[EndFoldout]
[BeginFoldout(EnableIf)]
[Toggle(_NORMALMAP)] _NORMALMAP("Normal", Float) = 0
[BeginEnableIf(_NORMALMAP, Equal, 1)]
[Normal] _BumpMap("Normal Map", 2D) = "bump" {}
_BumpScale("Normal Scale", Float) = 1.0
[EndEnableIf]
[EndFoldout]
[BeginFoldout(ShowIf)]
[Toggle(_EMISSION)] _EMISSION("Emission", Float) = 0
[BeginShowIf(_EMISSION, Equal, 1)]
_EmissionMap("Emission Map", 2D) = "white" {}
[HDR] _EmissionColor("Emission Color", Color) = (1, 1, 1, 1)
[EndShowIf]
[EndFoldout]
[BeginFoldout(Separator)]
[Enum(Off, 0, On, 1)] _PropAbove("Prop Above", Float) = 0
[Separator]
_PropBelow("Prop Below", Color) = (1, 1, 1, 1)
[EndFoldout]
[BeginFoldout(MiniTexture)]
[MiniTexture] _MiniTexture("MiniTexture", 2D) = "white" {}
[EndFoldout]
[BeginFoldout(MiniTextureWithColor)]
[BeginMiniTextureWithColor]
[MainTexture] _BaseMap("Base Map", 2D) = "white" {}
[MainColor] _BaseColor("Base Color", Color) = (1, 1, 1, 1)
[EndMiniTextureWithColor]
[EndFoldout]
[BeginFoldout(FloatRange)]
[FloatRange(0, 1)] _FloatRange("FloatRange", Float) = 0.5
_Range("UnityRange", Range(0, 1)) = 0.5
[EndFoldout]
[BeginFoldout(MultiLineVector)]
[MultiLineVector(2, X, 0f, 1f, Y, 0f, 1f)]
_MultiLineVector2("Multi Line Vector2", Vector) = (1, 1, 1, 1)
[MultiLineVector(3, Top, n1f, 1f, Bottom, n1f, 1f, Left, n1f, 1f, Right, n1f, 1f)]
_MultiLineVector3("Multi Line Vector3", Vector) = (1, 1, 1, 1)
[EndFoldout]
[BeginFoldout(Label)]
[Label(Label Default)]
[Label(Label Size15, 15)]
[Label(Label Size15 Normal, 15, Normal)]
[Label(Label Size15 Bold, 15, Bold)]
[Label(Label Size15 Italic, 15, Italic)]
[Label(Label Size15 BoldAndItalic, 15, BoldAndItalic)]
[EndFoldout]
[BeginFoldout(Tooltip)]
_Tooltip("Tooltip [This is Tooltip Text]", Color) = (1, 1, 1, 1)
[EndFoldout]
[BeginFoldout(HelpBox)]
[HelpBox] _NeutralHelpBox("This is a neutral message.", Float) = 0
[HelpBox(Info)] _InfoHelpBox("This is an info message.", Float) = 0
[HelpBox(Warning)] _WarningHelpBox("This is a warning message.", Float) = 0
[HelpBox(Error)] _ErrorHelpBox("This is an error message.", Float) = 0
[EndFoldout]
[Separator]
[HideInInspector] _("", Float) = 0
}
SubShader
{
Pass
{
}
}
CustomEditor "GraphicsCat.MarkupShaderGUI"
FallBack "Universal Render Pipeline/Unlit"
}

View File

@@ -0,0 +1,29 @@
fileFormatVersion: 2
guid: 6e5683512f876f74cb7f5ac80491a5ab
ShaderImporter:
externalObjects: {}
defaultTextures:
- _BaseMap: {instanceID: 0}
- _BaseMask: {instanceID: 0}
- _BumpMap: {instanceID: 0}
- _CustomLightmap: {instanceID: 0}
- _DiffDirRamp: {instanceID: 0}
- _MatCap: {instanceID: 0}
- _BrushedTex: {instanceID: 0}
- _SpecIndirCubemap: {instanceID: 0}
- _SpecIndirMatCap: {instanceID: 0}
- _SpecIndirBRDFLut: {instanceID: 0}
- _EmissionMap: {instanceID: 0}
- _DetailMap: {instanceID: 0}
- _DetailBumpMap: {instanceID: 0}
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 328765
packageName: LitPlus - URP Enhanced Lit Shader
packageVersion: 1.0.1
assetPath: Assets/GraphicsCat/Modules/MarkupShaderGUI/Examples/MarkupShaderGUIExample.shader
uploadId: 820558