Hub lights and detail

This commit is contained in:
szczuras4
2026-01-19 22:21:06 +01:00
parent 3520770331
commit 09dfdfa066
114 changed files with 36335 additions and 393 deletions

View File

@@ -57,10 +57,10 @@ Material:
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Exposure: 0.57
- _Exposure: 0.89
- _Rotation: 53
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Tint: {r: 0.7735849, g: 0.34782913, b: 0.105820596, a: 1}
- _Tint: {r: 0.77254903, g: 0.27221045, b: 0.10588234, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1

View File

@@ -1,9 +1,10 @@
Shader "Custom/URP/Unlit_Panorama_NoFog"
Shader "Custom/URP/FakeSky_NoClip"
{
Properties
{
_BaseMap ("Texture", 2D) = "white" {}
_Color ("Color Tint", Color) = (1,1,1,1)
[MainTexture] _BaseMap ("Texture (Panorama)", 2D) = "white" {}
[MainColor] _Color ("Color Tint", Color) = (1,1,1,1)
_Intensity ("Brightness / Emission", Float) = 1.0
}
SubShader
@@ -11,8 +12,9 @@ Shader "Custom/URP/Unlit_Panorama_NoFog"
Tags
{
"RenderPipeline"="UniversalRenderPipeline"
"RenderType"="Background"
"Queue"="Background"
"RenderType"="Opaque"
"PreviewType"="Skybox"
}
Pass
@@ -20,9 +22,10 @@ Shader "Custom/URP/Unlit_Panorama_NoFog"
Name "Unlit"
Tags { "LightMode"="UniversalForward" }
ZWrite Off
Cull Off
Fog { Mode Off }
ZWrite Off
// Wa¿ne: ZTest LEqual w po³¹czeniu z trikiem w Vertex shaderze
ZTest LEqual
HLSLPROGRAM
#pragma vertex vert
@@ -45,23 +48,33 @@ Shader "Custom/URP/Unlit_Panorama_NoFog"
TEXTURE2D(_BaseMap);
SAMPLER(sampler_BaseMap);
float4 _BaseMap_ST;
float4 _Color;
CBUFFER_START(UnityPerMaterial)
float4 _BaseMap_ST;
float4 _Color;
float _Intensity;
CBUFFER_END
Varyings vert (Attributes v)
{
Varyings o;
o.positionHCS = TransformObjectToHClip(v.positionOS.xyz);
// --- MAGICZNA LINIJKA ---
// To sprawia, ¿e obiekt jest renderowany na maksymalnej g³êbokoœci (jak Skybox).
// Dziêki temu Far Clip Plane kamery go nie utnie, nawet jak jest ogromny.
o.positionHCS.z = o.positionHCS.w;
// ------------------------
o.uv = TRANSFORM_TEX(v.uv, _BaseMap);
return o;
}
half4 frag (Varyings i) : SV_Target
{
half4 col = SAMPLE_TEXTURE2D(_BaseMap, sampler_BaseMap, i.uv);
return col * _Color;
half4 texColor = SAMPLE_TEXTURE2D(_BaseMap, sampler_BaseMap, i.uv);
return texColor * _Color * _Intensity;
}
ENDHLSL
}
}
}
}

View File

@@ -18,7 +18,7 @@ Material:
m_LightmapFlags: 2
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
m_CustomRenderQueue: 1000
stringTagMap: {}
disabledShaderPasses:
- MOTIONVECTORS
@@ -128,6 +128,7 @@ Material:
- _Glossiness: 0
- _GlossyReflections: 0
- _ImageType: 0
- _Intensity: 1.09
- _Layout: 0
- _Mapping: 1
- _Metallic: 0
@@ -147,7 +148,7 @@ Material:
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 0.65499705, b: 0.28773582, a: 1}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}

View File

@@ -19,8 +19,8 @@ LightingSettings:
m_LightmapMaxSize: 1024
m_LightmapSizeFixed: 1
m_UseMipmapLimits: 1
m_BakeResolution: 40
m_Padding: 8
m_BakeResolution: 45
m_Padding: 6
m_LightmapCompression: 0
m_AO: 1
m_AOMaxDistance: 0.6

View File

@@ -20,7 +20,7 @@ Material:
m_LightmapFlags: 4
m_EnableInstancingVariants: 1
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
m_CustomRenderQueue: 2000
stringTagMap:
RenderType: Opaque
disabledShaderPasses:

View File

@@ -0,0 +1,195 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-7966782797081402813
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
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: crystalPortl
m_Shader: {fileID: -6465566751694194690, guid: 00a0b3897399f8b42a61a0333dd40ced,
type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- BASETEXTYPE_ALBEDO_EMISSIVE
- USEDISSOLVE_DONT_USE
- USEFRESNEL
- _ALPHATEST_ON
m_InvalidKeywords:
- _EMISSION
- _ENVIRONMENTREFLECTIONS_OFF
- _METALLICSPECGLOSSMAP
- _NORMALMAP
m_LightmapFlags: 2
m_EnableInstancingVariants: 1
m_DoubleSidedGI: 1
m_CustomRenderQueue: 2450
stringTagMap:
RenderType: TransparentCutout
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- BaseTex:
m_Texture: {fileID: 2800000, guid: 25405b9b78c350d4c8ac394c74e39ede, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- DissolveMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- NOSMap:
m_Texture: {fileID: 2800000, guid: ead716f17a0a0f347adaf3ff0a109e6a, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMap:
m_Texture: {fileID: 2800000, guid: c0d899801acbe0845902935b9e0e857e, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 5a004b07e91ff744aa9143b4cdd46a2d, type: 3}
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}
- _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}
- _EmissionMap:
m_Texture: {fileID: 2800000, guid: 284695d770a91574cb92ebad906dc6f4, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: c0d899801acbe0845902935b9e0e857e, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 2800000, guid: 18c6ef854a1f94045bcd407172b8d0f6, type: 3}
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: 2800000, guid: 18c6ef854a1f94045bcd407172b8d0f6, type: 3}
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:
- AOStrength: 3
- AlphaClipThreshold: 0.454
- BASETEXTYPE: 0
- DissolveNoiseScale: 25
- EffectStrenght: 1
- FresnelPower: 1.37
- Metalness: 0.13
- NormalStrength: 3
- Smoothness: 1.14
- USEDISSOLVE: 0
- USEDISSOLVEMASK: 0
- USEFRESNEL: 1
- Vector1_473704f964214ae2bc68475022d1524b: 0.05
- _AlphaClip: 1
- _AlphaToMask: 1
- _BendEffect: 0
- _BendMaxDistance: 1
- _BendMaxHeight: 0
- _BendMinDistance: 0.2
- _BendMinHeight: 1
- _Blend: 0
- _BlendModePreserveSpecular: 0
- _BumpScale: 1
- _CastShadows: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EffectThreshold: 0
- _EmissionScaleUI: 1.5
- _EnvironmentReflections: 0
- _FadeDistance: 0.28
- _FarFadeDistance: 500
- _GlossMapScale: 0
- _Glossiness: 0.613
- _GlossyReflections: 0
- _InverseFadeRange: 1
- _InverseFarFadeRange: 0.5
- _Metallic: 0.772
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueControl: 0
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _Threshold: 0.184
- _USEDISTANCEFADE: 0
- _USESCANWAVE: 0
- _UVSec: 0
- _WaveTrail: 4
- _WorkflowMode: 1
- _ZTest: 4
- _ZWrite: 1
- _ZWriteControl: 0
m_Colors:
- BaseColor: {r: 0.92593974, g: 0.92593974, b: 0.92593974, a: 1}
- Color_613d1588816440ec9b17710effb7528b: {r: 0, g: 13.98681, b: 714.8679, a: 0}
- EmissiveColor: {r: 0.66203046, g: 0, b: 0, a: 1.5}
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _BendVector: {r: 0, g: -1, b: 0, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 29.508846, g: 3.0899315, b: 0, a: 1.5}
- _EmissionColorUI: {r: 1, g: 0.10344824, b: 0, a: 1}
- _FresnelColor: {r: 1, g: 0.113483936, b: 0, a: 0}
- _ScanWaveColor: {r: 0, g: 0.5949242, b: 1, a: 0}
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4e25ba4ab932bdd4f9658de5597772d3
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

View File

@@ -0,0 +1,156 @@
fileFormatVersion: 2
guid: 25405b9b78c350d4c8ac394c74e39ede
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 2
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: iOS
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WindowsStoreApps
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant: