com.mavrodiev.toolbox 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/Editor/Material-From-Texture-Maps/MaterialFromTextureMaps.cs +335 -0
- package/Editor/Material-From-Texture-Maps/MaterialFromTextureMaps.cs.meta +2 -0
- package/Editor/Material-From-Texture-Maps.meta +8 -0
- package/Editor/Mavrodiev.Toolbox.Editor.asmdef +10 -2
- package/Editor/MeshHealthWindow.cs +154 -0
- package/Editor/MeshHealthWindow.cs.meta +2 -0
- package/Editor/Texel-Density/TexelDensityView.cs +154 -0
- package/Editor/Texel-Density/TexelDensityView.cs.meta +2 -0
- package/Editor/Texel-Density.meta +8 -0
- package/Materials/M_Decal_Rain-Ripples.mat +77 -0
- package/Materials/M_Decal_Rain-Ripples.mat.meta +8 -0
- package/Materials/M_Dust-Back-Scatter.mat +40 -0
- package/Materials/M_Dust-Back-Scatter.mat.meta +8 -0
- package/Materials/M_Fake-Beam.mat +74 -0
- package/Materials/M_Fake-Beam.mat.meta +8 -0
- package/Materials/M_Flat.mat +155 -0
- package/Materials/M_Flat.mat.meta +8 -0
- package/Materials/M_Ghost.mat +35 -0
- package/Materials/M_Ghost.mat.meta +8 -0
- package/Materials/M_Glass-Clear.mat +39 -0
- package/Materials/M_Glass-Clear.mat.meta +8 -0
- package/Materials/M_Glass-Frosted.mat +39 -0
- package/Materials/M_Glass-Frosted.mat.meta +8 -0
- package/Materials/M_Glass-Reeded.mat +39 -0
- package/Materials/M_Glass-Reeded.mat.meta +8 -0
- package/Materials/M_Glow_Sodium.mat +33 -0
- package/Materials/M_Glow_Sodium.mat.meta +8 -0
- package/Materials/M_Glow_White.mat +33 -0
- package/Materials/M_Glow_White.mat.meta +8 -0
- package/Materials/M_Interior-Rooms-Shop.mat +41 -0
- package/Materials/M_Interior-Rooms-Shop.mat.meta +8 -0
- package/Materials/M_Interior-Rooms.mat +41 -0
- package/Materials/M_Interior-Rooms.mat.meta +8 -0
- package/Materials/M_Planar-Floor.mat +45 -0
- package/Materials/M_Planar-Floor.mat.meta +8 -0
- package/Materials/M_Reference-Overlay.mat +74 -0
- package/Materials/M_Reference-Overlay.mat.meta +8 -0
- package/Materials/M_Toon.mat +155 -0
- package/Materials/M_Toon.mat.meta +8 -0
- package/Materials/M_Tube-Dying.mat +35 -0
- package/Materials/M_Tube-Dying.mat.meta +8 -0
- package/Materials/M_Tube-Steady.mat +35 -0
- package/Materials/M_Tube-Steady.mat.meta +8 -0
- package/Materials/M_Water-Flood.mat +42 -0
- package/Materials/M_Water-Flood.mat.meta +8 -0
- package/Materials/M_Water.mat +42 -0
- package/Materials/M_Water.mat.meta +8 -0
- package/Materials/STOutline.mat +155 -0
- package/Materials/STOutline.mat.meta +8 -0
- package/Materials.meta +8 -0
- package/Runtime/CameraBreathing.cs +102 -0
- package/Runtime/CameraBreathing.cs.meta +2 -0
- package/Runtime/Mavrodiev.Toolbox.asmdef +4 -1
- package/Runtime/PlanarReflection.cs +165 -0
- package/Runtime/PlanarReflection.cs.meta +2 -0
- package/Runtime/Reference-Overlay.prefab +109 -0
- package/Runtime/Reference-Overlay.prefab.meta +7 -0
- package/Runtime/ReferenceOverlay.cs +175 -0
- package/Runtime/ReferenceOverlay.cs.meta +2 -0
- package/Runtime/RippleFlipbook.cs +116 -0
- package/Runtime/RippleFlipbook.cs.meta +2 -0
- package/Runtime/Terrain/HillTerrainGenerator.cs +143 -0
- package/Runtime/Terrain/HillTerrainGenerator.cs.meta +2 -0
- package/Runtime/Terrain/HillTerrainProfile.cs +64 -0
- package/Runtime/Terrain/HillTerrainProfile.cs.meta +2 -0
- package/Runtime/Terrain/TerrainSandbox.cs +83 -0
- package/Runtime/Terrain/TerrainSandbox.cs.meta +2 -0
- package/Runtime/Terrain.meta +8 -0
- package/Samples~/Camera-Showcase/Camera-Showcase.unity +2990 -0
- package/Samples~/Camera-Showcase/Camera-Showcase.unity.meta +7 -0
- package/Samples~/Camera-Showcase/M_Showcase_Grey.mat +139 -0
- package/Samples~/Camera-Showcase/M_Showcase_Grey.mat.meta +8 -0
- package/Samples~/Camera-Showcase/M_Showcase_Post.mat +139 -0
- package/Samples~/Camera-Showcase/M_Showcase_Post.mat.meta +8 -0
- package/Samples~/Camera-Showcase/Showcase-Portrait-Grid.png +0 -0
- package/Samples~/Camera-Showcase/Showcase-Portrait-Grid.png.meta +119 -0
- package/Samples~/Light-And-Space-Showcase/Light-And-Space-Showcase.unity +10616 -0
- package/Samples~/Light-And-Space-Showcase/Light-And-Space-Showcase.unity.meta +7 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-1.mat +74 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-1.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-2.mat +74 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-2.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-6.mat +74 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Beam-Edge-6.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-0.3.mat +55 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-0.3.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-0.6.mat +55 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-0.6.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-1.2.mat +55 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Caustics-1.2.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Dark.mat +139 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Dark.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Ghost-Fade-10.mat +35 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Ghost-Fade-10.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Ghost-Fade-5.mat +35 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Ghost-Fade-5.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Ground.mat +139 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Ground.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Rooms-1x1-Depth-2.mat +41 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Rooms-1x1-Depth-2.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Rooms-3x1-Depth-5.mat +41 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Rooms-3x1-Depth-5.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-0.5.mat +35 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-0.5.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-0.mat +35 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-0.mat.meta +8 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-1.mat +35 -0
- package/Samples~/Light-And-Space-Showcase/M_Showcase_Tube-Broken-1.mat.meta +8 -0
- package/Samples~/Mesh-Tools-Showcase/Mesh-Health-Showcase.unity +1097 -0
- package/Samples~/Mesh-Tools-Showcase/Mesh-Health-Showcase.unity.meta +7 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Centimetres.asset +181 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Centimetres.asset.meta +8 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Flipped.asset +181 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Flipped.asset.meta +8 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Good.asset +181 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Good.asset.meta +8 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Hole.asset +181 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Hole.asset.meta +8 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Off-Grid.asset +181 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes/Box-Off-Grid.asset.meta +8 -0
- package/Samples~/Mesh-Tools-Showcase/Meshes.meta +8 -0
- package/Samples~/Reflections-Showcase/M_Showcase_Blue.mat +139 -0
- package/Samples~/Reflections-Showcase/M_Showcase_Blue.mat.meta +8 -0
- package/Samples~/Reflections-Showcase/M_Showcase_Red.mat +139 -0
- package/Samples~/Reflections-Showcase/M_Showcase_Red.mat.meta +8 -0
- package/Samples~/Reflections-Showcase/M_Showcase_Yellow.mat +139 -0
- package/Samples~/Reflections-Showcase/M_Showcase_Yellow.mat.meta +8 -0
- package/Samples~/Reflections-Showcase/Reflections-Showcase.unity +1136 -0
- package/Samples~/Reflections-Showcase/Reflections-Showcase.unity.meta +7 -0
- package/Samples~/Skies-Showcase/M_Showcase_Grey.mat +139 -0
- package/Samples~/Skies-Showcase/M_Showcase_Grey.mat.meta +8 -0
- package/Samples~/Skies-Showcase/M_Showcase_Sky-Gradient.mat +39 -0
- package/Samples~/Skies-Showcase/M_Showcase_Sky-Gradient.mat.meta +8 -0
- package/Samples~/Skies-Showcase/M_Showcase_Sky-Procedural.mat +38 -0
- package/Samples~/Skies-Showcase/M_Showcase_Sky-Procedural.mat.meta +8 -0
- package/Samples~/Skies-Showcase/Skies-Gradient.unity +1060 -0
- package/Samples~/Skies-Showcase/Skies-Gradient.unity.meta +7 -0
- package/Samples~/Skies-Showcase/Skies-Procedural.unity +1060 -0
- package/Samples~/Skies-Showcase/Skies-Procedural.unity.meta +7 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Curtain-0.mat +40 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Curtain-0.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Curtain-1.5.mat +40 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Curtain-1.5.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Emissive-Bar.mat +139 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Emissive-Bar.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Ground.mat +139 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Ground.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Screen-CRT.mat +46 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Screen-CRT.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Screen-LED.mat +46 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Screen-LED.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Screen-Plain.mat +46 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Screen-Plain.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Stripe-Dark.mat +139 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Stripe-Dark.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Stripe-Light.mat +139 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Stripe-Light.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-1.mat +155 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-1.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-3.mat +155 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-3.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-5.mat +155 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Toon-Steps-5.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Triplanar-Object.mat +50 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Triplanar-Object.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Triplanar-World.mat +50 -0
- package/Samples~/Surfaces-Showcase/M_Showcase_Triplanar-World.mat.meta +8 -0
- package/Samples~/Surfaces-Showcase/Surfaces-Showcase.unity +10448 -0
- package/Samples~/Surfaces-Showcase/Surfaces-Showcase.unity.meta +7 -0
- package/Samples~/Surfaces-Showcase/T_Showcase_Checker.png +0 -0
- package/Samples~/Surfaces-Showcase/T_Showcase_Checker.png.meta +119 -0
- package/Samples~/Surfaces-Showcase/T_Showcase_Screen-Content.png +0 -0
- package/Samples~/Surfaces-Showcase/T_Showcase_Screen-Content.png.meta +119 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/M_Stone-Paving.mat +142 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/M_Stone-Paving.mat.meta +8 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_AmbientOcclusion.jpg +0 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_AmbientOcclusion.jpg.meta +119 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_Color.jpg +0 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_Color.jpg.meta +119 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_MetallicSmoothness.png +0 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_MetallicSmoothness.png.meta +119 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_NormalGL.jpg +0 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_NormalGL.jpg.meta +119 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_Roughness.jpg +0 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving/Stone-Paving_Roughness.jpg.meta +119 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output/Stone-Paving.meta +8 -0
- package/Samples~/Texture-Tools-Showcase/Example-Output.meta +8 -0
- package/Samples~/Texture-Tools-Showcase/M_Ground.mat +139 -0
- package/Samples~/Texture-Tools-Showcase/M_Ground.mat.meta +8 -0
- package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_AmbientOcclusion.jpg +0 -0
- package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_AmbientOcclusion.jpg.meta +119 -0
- package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_Color.jpg +0 -0
- package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_Color.jpg.meta +119 -0
- package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_NormalGL.jpg +0 -0
- package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_NormalGL.jpg.meta +119 -0
- package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_Roughness.jpg +0 -0
- package/Samples~/Texture-Tools-Showcase/Raw-Set/Stone-Paving_Roughness.jpg.meta +119 -0
- package/Samples~/Texture-Tools-Showcase/Raw-Set.meta +8 -0
- package/Samples~/Texture-Tools-Showcase/Texture-Tools-Showcase.unity +1603 -0
- package/Samples~/Texture-Tools-Showcase/Texture-Tools-Showcase.unity.meta +7 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Damp-0.3.mat +63 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Damp-0.3.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Damp-0.8.mat +63 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Damp-0.8.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Damp-1.5.mat +63 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Damp-1.5.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Decal-Colour.mat +77 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Decal-Colour.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Decal-Normal.mat +77 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Decal-Normal.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Decal-Ripples.mat +77 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Decal-Ripples.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Decal-Smoothness.mat +77 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Decal-Smoothness.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Ground-Smooth.mat +139 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Ground-Smooth.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Ground.mat +139 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Ground.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Light-Box.mat +141 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Light-Box.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Puddles.mat +66 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Puddles.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.3.mat +62 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.3.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.6.mat +62 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.6.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.9.mat +62 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Snow-0.9.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Wet-0.0.mat +66 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Wet-0.0.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Wet-0.5.mat +66 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Wet-0.5.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Wet-1.0.mat +66 -0
- package/Samples~/Weathering-Showcase/M_Showcase_Wet-1.0.mat.meta +8 -0
- package/Samples~/Weathering-Showcase/T_Showcase_Noise.png +0 -0
- package/Samples~/Weathering-Showcase/T_Showcase_Noise.png.meta +119 -0
- package/Samples~/Weathering-Showcase/Weathering-Showcase.unity +5533 -0
- package/Samples~/Weathering-Showcase/Weathering-Showcase.unity.meta +7 -0
- package/Shaders/Common/Library-Lighting.hlsl +51 -0
- package/Shaders/Common/Library-Lighting.hlsl.meta +7 -0
- package/Shaders/Common/Library-Passes.hlsl +130 -0
- package/Shaders/Common/Library-Passes.hlsl.meta +7 -0
- package/Shaders/Common/Planar-Reflection.hlsl +42 -0
- package/Shaders/Common/Planar-Reflection.hlsl.meta +7 -0
- package/Shaders/Common.meta +8 -0
- package/Shaders/Debug/Texel-Density.shader +172 -0
- package/Shaders/Debug/Texel-Density.shader.meta +9 -0
- package/Shaders/Debug.meta +8 -0
- package/Shaders/Light-And-Space/Caustics.shader +281 -0
- package/Shaders/Light-And-Space/Caustics.shader.meta +9 -0
- package/Shaders/Light-And-Space/Dust-Back-Scatter.shader +158 -0
- package/Shaders/Light-And-Space/Dust-Back-Scatter.shader.meta +9 -0
- package/Shaders/Light-And-Space/Dying-Tube.shader +188 -0
- package/Shaders/Light-And-Space/Dying-Tube.shader.meta +9 -0
- package/Shaders/Light-And-Space/Fake-Beam.shader +73 -0
- package/Shaders/Light-And-Space/Fake-Beam.shader.meta +9 -0
- package/Shaders/Light-And-Space/Ghost.shader +137 -0
- package/Shaders/Light-And-Space/Ghost.shader.meta +9 -0
- package/Shaders/Light-And-Space/Glow-Volume.shader +136 -0
- package/Shaders/Light-And-Space/Glow-Volume.shader.meta +9 -0
- package/Shaders/Light-And-Space/Interior-Rooms.shader +247 -0
- package/Shaders/Light-And-Space/Interior-Rooms.shader.meta +9 -0
- package/Shaders/Light-And-Space/Meshes/Beam-Cone.asset +181 -0
- package/Shaders/Light-And-Space/Meshes/Beam-Cone.asset.meta +8 -0
- package/Shaders/Light-And-Space/Meshes/Human-Silhouette-1.8m-Merged.asset +181 -0
- package/Shaders/Light-And-Space/Meshes/Human-Silhouette-1.8m-Merged.asset.meta +8 -0
- package/Shaders/Light-And-Space/Meshes.meta +8 -0
- package/Shaders/Light-And-Space/Textures/T_Beam-Gradient.png +0 -0
- package/Shaders/Light-And-Space/Textures/T_Beam-Gradient.png.meta +119 -0
- package/Shaders/Light-And-Space/Textures.meta +8 -0
- package/Shaders/Light-And-Space.meta +8 -0
- package/Shaders/Skies/TriColorSkyboxGradient.shader +99 -0
- package/Shaders/Skies/TriColorSkyboxGradient.shader.meta +9 -0
- package/Shaders/Skies.meta +8 -0
- package/Shaders/Surfaces/Curtain.shader +231 -0
- package/Shaders/Surfaces/Curtain.shader.meta +9 -0
- package/Shaders/Surfaces/Glass.shader +210 -0
- package/Shaders/Surfaces/Glass.shader.meta +9 -0
- package/Shaders/Surfaces/Meshes/Curtain-Plane-1.6x2.6m.asset +181 -0
- package/Shaders/Surfaces/Meshes/Curtain-Plane-1.6x2.6m.asset.meta +8 -0
- package/Shaders/Surfaces/Meshes.meta +8 -0
- package/Shaders/Surfaces/Planar-Floor.shader +205 -0
- package/Shaders/Surfaces/Planar-Floor.shader.meta +9 -0
- package/Shaders/Surfaces/Screen.shader +239 -0
- package/Shaders/Surfaces/Screen.shader.meta +9 -0
- package/Shaders/Surfaces/Simple-Toon/Shaders/STCore.hlsl +115 -0
- package/Shaders/Surfaces/Simple-Toon/Shaders/STCore.hlsl.meta +7 -0
- package/Shaders/Surfaces/Simple-Toon/Shaders/STFunctions.hlsl +115 -0
- package/Shaders/Surfaces/Simple-Toon/Shaders/STFunctions.hlsl.meta +7 -0
- package/Shaders/Surfaces/Simple-Toon/Shaders/STOutline.shader +299 -0
- package/Shaders/Surfaces/Simple-Toon/Shaders/STOutline.shader.meta +16 -0
- package/Shaders/Surfaces/Simple-Toon/Shaders.meta +8 -0
- package/Shaders/Surfaces/Simple-Toon.meta +8 -0
- package/Shaders/Surfaces/Textures/Glass-Frosted_Normal.png +0 -0
- package/Shaders/Surfaces/Textures/Glass-Frosted_Normal.png.meta +119 -0
- package/Shaders/Surfaces/Textures/Glass-Reeded_Normal.png +0 -0
- package/Shaders/Surfaces/Textures/Glass-Reeded_Normal.png.meta +119 -0
- package/Shaders/Surfaces/Textures/Water-Ripples_Normal.png +0 -0
- package/Shaders/Surfaces/Textures/Water-Ripples_Normal.png.meta +119 -0
- package/Shaders/Surfaces/Textures.meta +8 -0
- package/Shaders/Surfaces/Triplanar.shader +229 -0
- package/Shaders/Surfaces/Triplanar.shader.meta +9 -0
- package/Shaders/Surfaces/Water.shader +215 -0
- package/Shaders/Surfaces/Water.shader.meta +9 -0
- package/Shaders/Surfaces.meta +8 -0
- package/Shaders/Terrain/Terrain-Height-Bands.shader +178 -0
- package/Shaders/Terrain/Terrain-Height-Bands.shader.meta +9 -0
- package/Shaders/Terrain/Terrain-Mono.shader +147 -0
- package/Shaders/Terrain/Terrain-Mono.shader.meta +9 -0
- package/Shaders/Terrain.meta +8 -0
- package/Shaders/Weathering/Damp-Base.shader +185 -0
- package/Shaders/Weathering/Damp-Base.shader.meta +9 -0
- package/Shaders/Weathering/Decal-Masked.shadergraph +3374 -0
- package/Shaders/Weathering/Decal-Masked.shadergraph.meta +20 -0
- package/Shaders/Weathering/Snow-Top.shader +185 -0
- package/Shaders/Weathering/Snow-Top.shader.meta +9 -0
- package/Shaders/Weathering/SurfaceBase.hlsl +42 -0
- package/Shaders/Weathering/SurfaceBase.hlsl.meta +7 -0
- package/Shaders/Weathering/SurfaceDepthNormalsPass.hlsl +90 -0
- package/Shaders/Weathering/SurfaceDepthNormalsPass.hlsl.meta +7 -0
- package/Shaders/Weathering/SurfaceForwardPass.hlsl +182 -0
- package/Shaders/Weathering/SurfaceForwardPass.hlsl.meta +7 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-00.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-00.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-01.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-01.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-02.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-02.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-03.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-03.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-04.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-04.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-05.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-05.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-06.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-06.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-07.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-07.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-08.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-08.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-09.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-09.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-10.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-10.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-11.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-11.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-12.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-12.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-13.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-13.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-14.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-14.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-15.png +0 -0
- package/Shaders/Weathering/Textures/Ripples/Ripple-15.png.meta +119 -0
- package/Shaders/Weathering/Textures/Ripples.meta +8 -0
- package/Shaders/Weathering/Textures/T_Decal_Soft-Square_Mask.png +0 -0
- package/Shaders/Weathering/Textures/T_Decal_Soft-Square_Mask.png.meta +119 -0
- package/Shaders/Weathering/Textures.meta +8 -0
- package/Shaders/Weathering/Wet-Puddles.shader +215 -0
- package/Shaders/Weathering/Wet-Puddles.shader.meta +9 -0
- package/Shaders/Weathering.meta +8 -0
- package/Shaders.meta +8 -0
- package/Third Party Notices.md +48 -0
- package/package.json +54 -5
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// Texel Density View - shows, on every surface of the open scenes, how many texture pixels cover one metre.
|
|
2
|
+
// Tools > Mavrodiev > Texel Density View toggles it. While on, each Mesh Renderer and Skinned Mesh Renderer
|
|
3
|
+
// draws with a temporary material (shader "Mavrodiev/Debug/Texel-Density") made from its own material's
|
|
4
|
+
// Base Map size and Tiling. Off restores the original materials. It also turns itself off before a scene
|
|
5
|
+
// is saved, before Play mode, before a script reload, when a scene is opened and when the editor quits,
|
|
6
|
+
// so a scene is never saved with the debug materials.
|
|
7
|
+
// Install: Assets/_Staging/com.mavrodiev.toolbox/Editor/Texel-Density/TexelDensityView.cs
|
|
8
|
+
|
|
9
|
+
using System.Collections.Generic;
|
|
10
|
+
using System.Linq;
|
|
11
|
+
using UnityEditor;
|
|
12
|
+
using UnityEditor.SceneManagement;
|
|
13
|
+
using UnityEngine;
|
|
14
|
+
|
|
15
|
+
namespace Mavrodiev.Toolbox.Editor
|
|
16
|
+
{
|
|
17
|
+
[InitializeOnLoad]
|
|
18
|
+
public static class TexelDensityView
|
|
19
|
+
{
|
|
20
|
+
const string MenuPath = "Tools/Mavrodiev/Texel Density View";
|
|
21
|
+
const string TargetMenu = "Tools/Mavrodiev/Texel Density Target/";
|
|
22
|
+
const string TargetKey = "Mavrodiev.Toolbox.TexelDensity.Target";
|
|
23
|
+
const string ShaderName = "Mavrodiev/Debug/Texel-Density";
|
|
24
|
+
|
|
25
|
+
static bool on;
|
|
26
|
+
static readonly Dictionary<Renderer, Material[]> originals = new Dictionary<Renderer, Material[]>();
|
|
27
|
+
static readonly Dictionary<Material, Material> debugMaterials = new Dictionary<Material, Material>();
|
|
28
|
+
|
|
29
|
+
static float Target
|
|
30
|
+
{
|
|
31
|
+
get => EditorPrefs.GetFloat(TargetKey, 512f);
|
|
32
|
+
set => EditorPrefs.SetFloat(TargetKey, value);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static TexelDensityView()
|
|
36
|
+
{
|
|
37
|
+
EditorSceneManager.sceneSaving += (scene, path) => TurnOff();
|
|
38
|
+
EditorSceneManager.sceneOpening += (path, mode) => TurnOff();
|
|
39
|
+
EditorApplication.playModeStateChanged += state =>
|
|
40
|
+
{
|
|
41
|
+
if (state == PlayModeStateChange.ExitingEditMode) TurnOff();
|
|
42
|
+
};
|
|
43
|
+
AssemblyReloadEvents.beforeAssemblyReload += TurnOff;
|
|
44
|
+
EditorApplication.quitting += TurnOff;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[MenuItem(MenuPath, false, 2000)]
|
|
48
|
+
static void Toggle()
|
|
49
|
+
{
|
|
50
|
+
if (on) TurnOff();
|
|
51
|
+
else TurnOn();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[MenuItem(MenuPath, true)]
|
|
55
|
+
static bool ToggleValidate()
|
|
56
|
+
{
|
|
57
|
+
Menu.SetChecked(MenuPath, on);
|
|
58
|
+
return !EditorApplication.isPlayingOrWillChangePlaymode;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[MenuItem(TargetMenu + "256 px per m", false, 2001)] static void Target256() => SetTarget(256);
|
|
62
|
+
[MenuItem(TargetMenu + "512 px per m", false, 2002)] static void Target512() => SetTarget(512);
|
|
63
|
+
[MenuItem(TargetMenu + "1024 px per m", false, 2003)] static void Target1024() => SetTarget(1024);
|
|
64
|
+
|
|
65
|
+
[MenuItem(TargetMenu + "256 px per m", true)] static bool Target256V() { Menu.SetChecked(TargetMenu + "256 px per m", Mathf.Approximately(Target, 256)); return true; }
|
|
66
|
+
[MenuItem(TargetMenu + "512 px per m", true)] static bool Target512V() { Menu.SetChecked(TargetMenu + "512 px per m", Mathf.Approximately(Target, 512)); return true; }
|
|
67
|
+
[MenuItem(TargetMenu + "1024 px per m", true)] static bool Target1024V() { Menu.SetChecked(TargetMenu + "1024 px per m", Mathf.Approximately(Target, 1024)); return true; }
|
|
68
|
+
|
|
69
|
+
static void SetTarget(float value)
|
|
70
|
+
{
|
|
71
|
+
Target = value;
|
|
72
|
+
foreach (var material in debugMaterials.Values)
|
|
73
|
+
if (material != null) material.SetFloat("_Target", value);
|
|
74
|
+
SceneView.RepaintAll();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static void TurnOn()
|
|
78
|
+
{
|
|
79
|
+
var shader = Shader.Find(ShaderName);
|
|
80
|
+
if (shader == null)
|
|
81
|
+
{
|
|
82
|
+
Debug.LogError($"Texel Density View: the shader \"{ShaderName}\" is missing.");
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
int count = 0;
|
|
87
|
+
var renderers = Object.FindObjectsByType<Renderer>(FindObjectsInactive.Include, FindObjectsSortMode.None);
|
|
88
|
+
foreach (var renderer in renderers)
|
|
89
|
+
{
|
|
90
|
+
if (!(renderer is MeshRenderer) && !(renderer is SkinnedMeshRenderer)) continue;
|
|
91
|
+
if (EditorUtility.IsPersistent(renderer)) continue; // a prefab asset, not a scene object
|
|
92
|
+
if ((renderer.hideFlags & HideFlags.HideInHierarchy) != 0) continue; // editor helpers
|
|
93
|
+
var materials = renderer.sharedMaterials;
|
|
94
|
+
if (materials.Length == 0) continue;
|
|
95
|
+
if (materials.Any(m => m != null && m.shader != null && m.shader.name.StartsWith("TextMeshPro"))) continue;
|
|
96
|
+
|
|
97
|
+
originals[renderer] = materials;
|
|
98
|
+
renderer.sharedMaterials = materials.Select(m => DebugFor(m, shader)).ToArray();
|
|
99
|
+
count++;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
on = true;
|
|
103
|
+
SceneView.RepaintAll();
|
|
104
|
+
Debug.Log($"Texel Density View on: {count} renderers. Target {Target} texels per metre (green). Blue: half or less. Red: double or more.");
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
static void TurnOff()
|
|
108
|
+
{
|
|
109
|
+
if (!on) return;
|
|
110
|
+
foreach (var pair in originals)
|
|
111
|
+
if (pair.Key != null) pair.Key.sharedMaterials = pair.Value;
|
|
112
|
+
originals.Clear();
|
|
113
|
+
|
|
114
|
+
foreach (var material in debugMaterials.Values)
|
|
115
|
+
if (material != null) Object.DestroyImmediate(material);
|
|
116
|
+
debugMaterials.Clear();
|
|
117
|
+
|
|
118
|
+
on = false;
|
|
119
|
+
SceneView.RepaintAll();
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
static Material DebugFor(Material source, Shader shader)
|
|
123
|
+
{
|
|
124
|
+
if (source == null) return null;
|
|
125
|
+
if (debugMaterials.TryGetValue(source, out var cached)) return cached;
|
|
126
|
+
|
|
127
|
+
var material = new Material(shader)
|
|
128
|
+
{
|
|
129
|
+
name = source.name + " (Texel Density)",
|
|
130
|
+
hideFlags = HideFlags.DontSave
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
// the texture the surface shows: URP's Base Map, or the classic Main Tex
|
|
134
|
+
string property = source.HasProperty("_BaseMap") ? "_BaseMap" : source.HasProperty("_MainTex") ? "_MainTex" : null;
|
|
135
|
+
Texture texture = property != null ? source.GetTexture(property) : null;
|
|
136
|
+
if (texture != null)
|
|
137
|
+
{
|
|
138
|
+
var scale = source.GetTextureScale(property);
|
|
139
|
+
var offset = source.GetTextureOffset(property);
|
|
140
|
+
material.SetVector("_TexSize", new Vector4(texture.width, texture.height, 0, 0)); // the imported size (after Max Size)
|
|
141
|
+
material.SetVector("_TexST", new Vector4(scale.x, scale.y, offset.x, offset.y));
|
|
142
|
+
material.SetFloat("_HasTexture", 1);
|
|
143
|
+
}
|
|
144
|
+
else
|
|
145
|
+
{
|
|
146
|
+
material.SetFloat("_HasTexture", 0);
|
|
147
|
+
}
|
|
148
|
+
material.SetFloat("_Target", Target);
|
|
149
|
+
|
|
150
|
+
debugMaterials[source] = material;
|
|
151
|
+
return material;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!114 &-179027394385725494
|
|
4
|
+
MonoBehaviour:
|
|
5
|
+
m_ObjectHideFlags: 11
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
m_GameObject: {fileID: 0}
|
|
10
|
+
m_Enabled: 1
|
|
11
|
+
m_EditorHideFlags: 0
|
|
12
|
+
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
13
|
+
m_Name:
|
|
14
|
+
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
|
|
15
|
+
version: 10
|
|
16
|
+
--- !u!21 &2100000
|
|
17
|
+
Material:
|
|
18
|
+
serializedVersion: 8
|
|
19
|
+
m_ObjectHideFlags: 0
|
|
20
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
21
|
+
m_PrefabInstance: {fileID: 0}
|
|
22
|
+
m_PrefabAsset: {fileID: 0}
|
|
23
|
+
m_Name: M_Decal_Rain-Ripples
|
|
24
|
+
m_Shader: {fileID: -6465566751694194690, guid: 13c357796ec4933459521c05cb05396e, type: 3}
|
|
25
|
+
m_Parent: {fileID: 0}
|
|
26
|
+
m_ModifiedSerializedProperties: 0
|
|
27
|
+
m_ValidKeywords: []
|
|
28
|
+
m_InvalidKeywords: []
|
|
29
|
+
m_LightmapFlags: 4
|
|
30
|
+
m_EnableInstancingVariants: 0
|
|
31
|
+
m_DoubleSidedGI: 0
|
|
32
|
+
m_CustomRenderQueue: -1
|
|
33
|
+
stringTagMap: {}
|
|
34
|
+
disabledShaderPasses: []
|
|
35
|
+
m_LockedProperties:
|
|
36
|
+
m_SavedProperties:
|
|
37
|
+
serializedVersion: 3
|
|
38
|
+
m_TexEnvs:
|
|
39
|
+
- Base_Map:
|
|
40
|
+
m_Texture: {fileID: 0}
|
|
41
|
+
m_Scale: {x: 1, y: 1}
|
|
42
|
+
m_Offset: {x: 0, y: 0}
|
|
43
|
+
- Mask_Map:
|
|
44
|
+
m_Texture: {fileID: 2800000, guid: ba94d0bde47b2dd4a930e6d8e7ee2b4e, type: 3}
|
|
45
|
+
m_Scale: {x: 1, y: 1}
|
|
46
|
+
m_Offset: {x: 0, y: 0}
|
|
47
|
+
- Normal_Map:
|
|
48
|
+
m_Texture: {fileID: 2800000, guid: 9e0254f4c4a330f4d8c20691d06e6353, type: 3}
|
|
49
|
+
m_Scale: {x: 1, y: 1}
|
|
50
|
+
m_Offset: {x: 0, y: 0}
|
|
51
|
+
- unity_Lightmaps:
|
|
52
|
+
m_Texture: {fileID: 0}
|
|
53
|
+
m_Scale: {x: 1, y: 1}
|
|
54
|
+
m_Offset: {x: 0, y: 0}
|
|
55
|
+
- unity_LightmapsInd:
|
|
56
|
+
m_Texture: {fileID: 0}
|
|
57
|
+
m_Scale: {x: 1, y: 1}
|
|
58
|
+
m_Offset: {x: 0, y: 0}
|
|
59
|
+
- unity_ShadowMasks:
|
|
60
|
+
m_Texture: {fileID: 0}
|
|
61
|
+
m_Scale: {x: 1, y: 1}
|
|
62
|
+
m_Offset: {x: 0, y: 0}
|
|
63
|
+
m_Ints: []
|
|
64
|
+
m_Floats:
|
|
65
|
+
- Color_Opacity: 0
|
|
66
|
+
- Normal_Blend: 1
|
|
67
|
+
- Smoothness: 0.9
|
|
68
|
+
- Smoothness_Opacity: 0
|
|
69
|
+
- _DecalAngleFadeSupported: 1
|
|
70
|
+
- _DecalMeshBiasType: 0
|
|
71
|
+
- _DecalMeshDepthBias: 0
|
|
72
|
+
- _DecalMeshViewBias: 0
|
|
73
|
+
- _DrawOrder: 0
|
|
74
|
+
m_Colors:
|
|
75
|
+
- Base_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
76
|
+
m_BuildTextureStacks: []
|
|
77
|
+
m_AllowLocking: 1
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!21 &2100000
|
|
4
|
+
Material:
|
|
5
|
+
serializedVersion: 8
|
|
6
|
+
m_ObjectHideFlags: 0
|
|
7
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
8
|
+
m_PrefabInstance: {fileID: 0}
|
|
9
|
+
m_PrefabAsset: {fileID: 0}
|
|
10
|
+
m_Name: M_Dust-Back-Scatter
|
|
11
|
+
m_Shader: {fileID: 4800000, guid: 586b47a99e931514c8098776d74a6ae9, type: 3}
|
|
12
|
+
m_Parent: {fileID: 0}
|
|
13
|
+
m_ModifiedSerializedProperties: 0
|
|
14
|
+
m_ValidKeywords: []
|
|
15
|
+
m_InvalidKeywords: []
|
|
16
|
+
m_LightmapFlags: 4
|
|
17
|
+
m_EnableInstancingVariants: 0
|
|
18
|
+
m_DoubleSidedGI: 0
|
|
19
|
+
m_CustomRenderQueue: -1
|
|
20
|
+
stringTagMap: {}
|
|
21
|
+
disabledShaderPasses: []
|
|
22
|
+
m_LockedProperties:
|
|
23
|
+
m_SavedProperties:
|
|
24
|
+
serializedVersion: 3
|
|
25
|
+
m_TexEnvs:
|
|
26
|
+
- _BaseMap:
|
|
27
|
+
m_Texture: {fileID: 0}
|
|
28
|
+
m_Scale: {x: 1, y: 1}
|
|
29
|
+
m_Offset: {x: 0, y: 0}
|
|
30
|
+
m_Ints: []
|
|
31
|
+
m_Floats:
|
|
32
|
+
- _Anisotropy: 0.7
|
|
33
|
+
- _FadeFar: 1
|
|
34
|
+
- _FadeNear: 0.3
|
|
35
|
+
- _Intensity: 1
|
|
36
|
+
- _MaxBrightness: 12
|
|
37
|
+
- _RoundDot: 1
|
|
38
|
+
m_Colors: []
|
|
39
|
+
m_BuildTextureStacks: []
|
|
40
|
+
m_AllowLocking: 1
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!21 &2100000
|
|
4
|
+
Material:
|
|
5
|
+
serializedVersion: 8
|
|
6
|
+
m_ObjectHideFlags: 0
|
|
7
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
8
|
+
m_PrefabInstance: {fileID: 0}
|
|
9
|
+
m_PrefabAsset: {fileID: 0}
|
|
10
|
+
m_Name: M_Fake-Beam
|
|
11
|
+
m_Shader: {fileID: 4800000, guid: ae6b0621f9fb9414d964f457afb97ad2, type: 3}
|
|
12
|
+
m_Parent: {fileID: 0}
|
|
13
|
+
m_ModifiedSerializedProperties: 0
|
|
14
|
+
m_ValidKeywords: []
|
|
15
|
+
m_InvalidKeywords:
|
|
16
|
+
- _SURFACE_TYPE_TRANSPARENT
|
|
17
|
+
m_LightmapFlags: 4
|
|
18
|
+
m_EnableInstancingVariants: 0
|
|
19
|
+
m_DoubleSidedGI: 1
|
|
20
|
+
m_CustomRenderQueue: -1
|
|
21
|
+
stringTagMap: {}
|
|
22
|
+
disabledShaderPasses:
|
|
23
|
+
- MOTIONVECTORS
|
|
24
|
+
- DepthOnly
|
|
25
|
+
- SHADOWCASTER
|
|
26
|
+
m_LockedProperties:
|
|
27
|
+
m_SavedProperties:
|
|
28
|
+
serializedVersion: 3
|
|
29
|
+
m_TexEnvs:
|
|
30
|
+
- _BaseMap:
|
|
31
|
+
m_Texture: {fileID: 2800000, guid: 09533fd4572143049a9194f34d63d780, type: 3}
|
|
32
|
+
m_Scale: {x: 1, y: 1}
|
|
33
|
+
m_Offset: {x: 0, y: 0}
|
|
34
|
+
- _MainTex:
|
|
35
|
+
m_Texture: {fileID: 2800000, guid: 09533fd4572143049a9194f34d63d780, type: 3}
|
|
36
|
+
m_Scale: {x: 1, y: 1}
|
|
37
|
+
m_Offset: {x: 0, y: 0}
|
|
38
|
+
m_Ints: []
|
|
39
|
+
m_Floats:
|
|
40
|
+
- _AddPrecomputedVelocity: 0
|
|
41
|
+
- _AlphaClip: 0
|
|
42
|
+
- _AlphaToMask: 0
|
|
43
|
+
- _Blend: 2
|
|
44
|
+
- _BlendOp: 0
|
|
45
|
+
- _Cull: 0
|
|
46
|
+
- _Cutoff: 0.5
|
|
47
|
+
- _DstBlend: 1
|
|
48
|
+
- _DstBlendAlpha: 1
|
|
49
|
+
- _EdgeSoftness: 1.6
|
|
50
|
+
- _QueueOffset: 0
|
|
51
|
+
- _SampleGI: 0
|
|
52
|
+
- _SrcBlend: 5
|
|
53
|
+
- _SrcBlendAlpha: 1
|
|
54
|
+
- _Surface: 1
|
|
55
|
+
- _XRMotionVectorsPass: 1
|
|
56
|
+
- _ZWrite: 0
|
|
57
|
+
m_Colors:
|
|
58
|
+
- _BaseColor: {r: 0.55, g: 0.52, b: 0.46, a: 1}
|
|
59
|
+
- _Color: {r: 0.15, g: 0.142, b: 0.128, a: 1}
|
|
60
|
+
m_BuildTextureStacks: []
|
|
61
|
+
m_AllowLocking: 1
|
|
62
|
+
--- !u!114 &6677962863176440428
|
|
63
|
+
MonoBehaviour:
|
|
64
|
+
m_ObjectHideFlags: 11
|
|
65
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
66
|
+
m_PrefabInstance: {fileID: 0}
|
|
67
|
+
m_PrefabAsset: {fileID: 0}
|
|
68
|
+
m_GameObject: {fileID: 0}
|
|
69
|
+
m_Enabled: 1
|
|
70
|
+
m_EditorHideFlags: 0
|
|
71
|
+
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
72
|
+
m_Name:
|
|
73
|
+
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
|
|
74
|
+
version: 10
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!114 &-4509352438635562122
|
|
4
|
+
MonoBehaviour:
|
|
5
|
+
m_ObjectHideFlags: 11
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
m_GameObject: {fileID: 0}
|
|
10
|
+
m_Enabled: 1
|
|
11
|
+
m_EditorHideFlags: 0
|
|
12
|
+
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
13
|
+
m_Name:
|
|
14
|
+
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
|
|
15
|
+
version: 10
|
|
16
|
+
--- !u!21 &2100000
|
|
17
|
+
Material:
|
|
18
|
+
serializedVersion: 8
|
|
19
|
+
m_ObjectHideFlags: 0
|
|
20
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
21
|
+
m_PrefabInstance: {fileID: 0}
|
|
22
|
+
m_PrefabAsset: {fileID: 0}
|
|
23
|
+
m_Name: M_Flat
|
|
24
|
+
m_Shader: {fileID: 4800000, guid: 128c5f1edaefa4c4fb3f9f7a4615edb2, type: 3}
|
|
25
|
+
m_Parent: {fileID: 0}
|
|
26
|
+
m_ModifiedSerializedProperties: 0
|
|
27
|
+
m_ValidKeywords: []
|
|
28
|
+
m_InvalidKeywords:
|
|
29
|
+
- _SEGMENTED_ON
|
|
30
|
+
m_LightmapFlags: 4
|
|
31
|
+
m_EnableInstancingVariants: 0
|
|
32
|
+
m_DoubleSidedGI: 0
|
|
33
|
+
m_CustomRenderQueue: -1
|
|
34
|
+
stringTagMap: {}
|
|
35
|
+
disabledShaderPasses:
|
|
36
|
+
- MOTIONVECTORS
|
|
37
|
+
m_LockedProperties:
|
|
38
|
+
m_SavedProperties:
|
|
39
|
+
serializedVersion: 3
|
|
40
|
+
m_TexEnvs:
|
|
41
|
+
- _BaseMap:
|
|
42
|
+
m_Texture: {fileID: 0}
|
|
43
|
+
m_Scale: {x: 1, y: 1}
|
|
44
|
+
m_Offset: {x: 0, y: 0}
|
|
45
|
+
- _BumpMap:
|
|
46
|
+
m_Texture: {fileID: 0}
|
|
47
|
+
m_Scale: {x: 1, y: 1}
|
|
48
|
+
m_Offset: {x: 0, y: 0}
|
|
49
|
+
- _DetailAlbedoMap:
|
|
50
|
+
m_Texture: {fileID: 0}
|
|
51
|
+
m_Scale: {x: 1, y: 1}
|
|
52
|
+
m_Offset: {x: 0, y: 0}
|
|
53
|
+
- _DetailMask:
|
|
54
|
+
m_Texture: {fileID: 0}
|
|
55
|
+
m_Scale: {x: 1, y: 1}
|
|
56
|
+
m_Offset: {x: 0, y: 0}
|
|
57
|
+
- _DetailNormalMap:
|
|
58
|
+
m_Texture: {fileID: 0}
|
|
59
|
+
m_Scale: {x: 1, y: 1}
|
|
60
|
+
m_Offset: {x: 0, y: 0}
|
|
61
|
+
- _EmissionMap:
|
|
62
|
+
m_Texture: {fileID: 0}
|
|
63
|
+
m_Scale: {x: 1, y: 1}
|
|
64
|
+
m_Offset: {x: 0, y: 0}
|
|
65
|
+
- _MainTex:
|
|
66
|
+
m_Texture: {fileID: 0}
|
|
67
|
+
m_Scale: {x: 1, y: 1}
|
|
68
|
+
m_Offset: {x: 0, y: 0}
|
|
69
|
+
- _MetallicGlossMap:
|
|
70
|
+
m_Texture: {fileID: 0}
|
|
71
|
+
m_Scale: {x: 1, y: 1}
|
|
72
|
+
m_Offset: {x: 0, y: 0}
|
|
73
|
+
- _OcclusionMap:
|
|
74
|
+
m_Texture: {fileID: 0}
|
|
75
|
+
m_Scale: {x: 1, y: 1}
|
|
76
|
+
m_Offset: {x: 0, y: 0}
|
|
77
|
+
- _ParallaxMap:
|
|
78
|
+
m_Texture: {fileID: 0}
|
|
79
|
+
m_Scale: {x: 1, y: 1}
|
|
80
|
+
m_Offset: {x: 0, y: 0}
|
|
81
|
+
- _SpecGlossMap:
|
|
82
|
+
m_Texture: {fileID: 0}
|
|
83
|
+
m_Scale: {x: 1, y: 1}
|
|
84
|
+
m_Offset: {x: 0, y: 0}
|
|
85
|
+
- unity_Lightmaps:
|
|
86
|
+
m_Texture: {fileID: 0}
|
|
87
|
+
m_Scale: {x: 1, y: 1}
|
|
88
|
+
m_Offset: {x: 0, y: 0}
|
|
89
|
+
- unity_LightmapsInd:
|
|
90
|
+
m_Texture: {fileID: 0}
|
|
91
|
+
m_Scale: {x: 1, y: 1}
|
|
92
|
+
m_Offset: {x: 0, y: 0}
|
|
93
|
+
- unity_ShadowMasks:
|
|
94
|
+
m_Texture: {fileID: 0}
|
|
95
|
+
m_Scale: {x: 1, y: 1}
|
|
96
|
+
m_Offset: {x: 0, y: 0}
|
|
97
|
+
m_Ints: []
|
|
98
|
+
m_Floats:
|
|
99
|
+
- _AddPrecomputedVelocity: 0
|
|
100
|
+
- _AlphaClip: 0
|
|
101
|
+
- _AlphaToMask: 0
|
|
102
|
+
- _AmbientCol: 0.34
|
|
103
|
+
- _Blend: 0
|
|
104
|
+
- _BlendModePreserveSpecular: 1
|
|
105
|
+
- _BumpScale: 1
|
|
106
|
+
- _ClearCoatMask: 0
|
|
107
|
+
- _ClearCoatSmoothness: 0
|
|
108
|
+
- _Clipped: 0
|
|
109
|
+
- _ColBright: 0
|
|
110
|
+
- _ColIntense: 1
|
|
111
|
+
- _Cull: 2
|
|
112
|
+
- _Cutoff: 0.5
|
|
113
|
+
- _DetailAlbedoMapScale: 1
|
|
114
|
+
- _DetailNormalMapScale: 1
|
|
115
|
+
- _DstBlend: 0
|
|
116
|
+
- _DstBlendAlpha: 0
|
|
117
|
+
- _EnvironmentReflections: 1
|
|
118
|
+
- _GlossMapScale: 0
|
|
119
|
+
- _Glossiness: 0
|
|
120
|
+
- _GlossyReflections: 0
|
|
121
|
+
- _Lumin: 0.45
|
|
122
|
+
- _MaxLight: 1
|
|
123
|
+
- _Metallic: 0
|
|
124
|
+
- _MinLight: 0.1
|
|
125
|
+
- _OcclusionStrength: 1
|
|
126
|
+
- _Offset: 0
|
|
127
|
+
- _OtlWidth: 0
|
|
128
|
+
- _Parallax: 0.005
|
|
129
|
+
- _QueueOffset: 0
|
|
130
|
+
- _ReceiveShadows: 1
|
|
131
|
+
- _Segmented: 1
|
|
132
|
+
- _ShnIntense: 0.347
|
|
133
|
+
- _ShnOverlap: 0
|
|
134
|
+
- _ShnRange: 0.186
|
|
135
|
+
- _ShnSmooth: 0.12
|
|
136
|
+
- _Smoothness: 0.5
|
|
137
|
+
- _SmoothnessTextureChannel: 0
|
|
138
|
+
- _SpecularHighlights: 1
|
|
139
|
+
- _SrcBlend: 1
|
|
140
|
+
- _SrcBlendAlpha: 1
|
|
141
|
+
- _Steps: 1
|
|
142
|
+
- _StpSmooth: 0.08
|
|
143
|
+
- _Surface: 0
|
|
144
|
+
- _WorkflowMode: 1
|
|
145
|
+
- _XRMotionVectorsPass: 1
|
|
146
|
+
- _ZWrite: 1
|
|
147
|
+
m_Colors:
|
|
148
|
+
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
|
149
|
+
- _Color: {r: 0.5687331, g: 0.17705832, b: 0.17705832, a: 1}
|
|
150
|
+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
151
|
+
- _OtlColor: {r: 0, g: 0, b: 0, a: 1}
|
|
152
|
+
- _ShnColor: {r: 1, g: 1, b: 0, a: 1}
|
|
153
|
+
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
|
154
|
+
m_BuildTextureStacks: []
|
|
155
|
+
m_AllowLocking: 1
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!21 &2100000
|
|
4
|
+
Material:
|
|
5
|
+
serializedVersion: 8
|
|
6
|
+
m_ObjectHideFlags: 0
|
|
7
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
8
|
+
m_PrefabInstance: {fileID: 0}
|
|
9
|
+
m_PrefabAsset: {fileID: 0}
|
|
10
|
+
m_Name: M_Ghost
|
|
11
|
+
m_Shader: {fileID: 4800000, guid: 7da9f1f2e0509fc4c9493ae89512d062, type: 3}
|
|
12
|
+
m_Parent: {fileID: 0}
|
|
13
|
+
m_ModifiedSerializedProperties: 0
|
|
14
|
+
m_ValidKeywords: []
|
|
15
|
+
m_InvalidKeywords: []
|
|
16
|
+
m_LightmapFlags: 4
|
|
17
|
+
m_EnableInstancingVariants: 0
|
|
18
|
+
m_DoubleSidedGI: 0
|
|
19
|
+
m_CustomRenderQueue: -1
|
|
20
|
+
stringTagMap: {}
|
|
21
|
+
disabledShaderPasses: []
|
|
22
|
+
m_LockedProperties:
|
|
23
|
+
m_SavedProperties:
|
|
24
|
+
serializedVersion: 3
|
|
25
|
+
m_TexEnvs: []
|
|
26
|
+
m_Ints: []
|
|
27
|
+
m_Floats:
|
|
28
|
+
- _FadeEnd: 2
|
|
29
|
+
- _FadeStart: 5
|
|
30
|
+
- _RimPower: 3
|
|
31
|
+
m_Colors:
|
|
32
|
+
- _BodyColor: {r: 0.35, g: 0.55, b: 0.65, a: 0.08}
|
|
33
|
+
- _RimColor: {r: 0.6, g: 1.4, b: 2, a: 1}
|
|
34
|
+
m_BuildTextureStacks: []
|
|
35
|
+
m_AllowLocking: 1
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!21 &2100000
|
|
4
|
+
Material:
|
|
5
|
+
serializedVersion: 8
|
|
6
|
+
m_ObjectHideFlags: 0
|
|
7
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
8
|
+
m_PrefabInstance: {fileID: 0}
|
|
9
|
+
m_PrefabAsset: {fileID: 0}
|
|
10
|
+
m_Name: M_Glass-Clear
|
|
11
|
+
m_Shader: {fileID: 4800000, guid: 90aa7e1a8b8be7c48be213b7511de61e, type: 3}
|
|
12
|
+
m_Parent: {fileID: 0}
|
|
13
|
+
m_ModifiedSerializedProperties: 0
|
|
14
|
+
m_ValidKeywords: []
|
|
15
|
+
m_InvalidKeywords: []
|
|
16
|
+
m_LightmapFlags: 4
|
|
17
|
+
m_EnableInstancingVariants: 0
|
|
18
|
+
m_DoubleSidedGI: 0
|
|
19
|
+
m_CustomRenderQueue: -1
|
|
20
|
+
stringTagMap: {}
|
|
21
|
+
disabledShaderPasses: []
|
|
22
|
+
m_LockedProperties:
|
|
23
|
+
m_SavedProperties:
|
|
24
|
+
serializedVersion: 3
|
|
25
|
+
m_TexEnvs:
|
|
26
|
+
- _BumpMap:
|
|
27
|
+
m_Texture: {fileID: 0}
|
|
28
|
+
m_Scale: {x: 1, y: 1}
|
|
29
|
+
m_Offset: {x: 0, y: 0}
|
|
30
|
+
m_Ints: []
|
|
31
|
+
m_Floats:
|
|
32
|
+
- _BumpScale: 1
|
|
33
|
+
- _Frost: 0
|
|
34
|
+
- _Refraction: 0.02
|
|
35
|
+
- _Smoothness: 0.95
|
|
36
|
+
m_Colors:
|
|
37
|
+
- _BaseColor: {r: 0.92, g: 0.97, b: 0.96, a: 1}
|
|
38
|
+
m_BuildTextureStacks: []
|
|
39
|
+
m_AllowLocking: 1
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!21 &2100000
|
|
4
|
+
Material:
|
|
5
|
+
serializedVersion: 8
|
|
6
|
+
m_ObjectHideFlags: 0
|
|
7
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
8
|
+
m_PrefabInstance: {fileID: 0}
|
|
9
|
+
m_PrefabAsset: {fileID: 0}
|
|
10
|
+
m_Name: M_Glass-Frosted
|
|
11
|
+
m_Shader: {fileID: 4800000, guid: 90aa7e1a8b8be7c48be213b7511de61e, type: 3}
|
|
12
|
+
m_Parent: {fileID: 0}
|
|
13
|
+
m_ModifiedSerializedProperties: 0
|
|
14
|
+
m_ValidKeywords: []
|
|
15
|
+
m_InvalidKeywords: []
|
|
16
|
+
m_LightmapFlags: 4
|
|
17
|
+
m_EnableInstancingVariants: 0
|
|
18
|
+
m_DoubleSidedGI: 0
|
|
19
|
+
m_CustomRenderQueue: -1
|
|
20
|
+
stringTagMap: {}
|
|
21
|
+
disabledShaderPasses: []
|
|
22
|
+
m_LockedProperties:
|
|
23
|
+
m_SavedProperties:
|
|
24
|
+
serializedVersion: 3
|
|
25
|
+
m_TexEnvs:
|
|
26
|
+
- _BumpMap:
|
|
27
|
+
m_Texture: {fileID: 2800000, guid: 24032d59b6007064ea2d07ecef8561e4, type: 3}
|
|
28
|
+
m_Scale: {x: 3, y: 4.5}
|
|
29
|
+
m_Offset: {x: 0, y: 0}
|
|
30
|
+
m_Ints: []
|
|
31
|
+
m_Floats:
|
|
32
|
+
- _BumpScale: 0.6
|
|
33
|
+
- _Frost: 1
|
|
34
|
+
- _Refraction: 0.03
|
|
35
|
+
- _Smoothness: 0.8
|
|
36
|
+
m_Colors:
|
|
37
|
+
- _BaseColor: {r: 0.95, g: 0.97, b: 0.97, a: 1}
|
|
38
|
+
m_BuildTextureStacks: []
|
|
39
|
+
m_AllowLocking: 1
|