From 10037724e20898b29ba3283029e2fae1b7e8dd81 Mon Sep 17 00:00:00 2001 From: Thomas Woischnig Date: Thu, 6 Feb 2025 19:51:01 +0100 Subject: [PATCH] readme update --- readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index e5cceff..0bb65c4 100644 --- a/readme.md +++ b/readme.md @@ -19,7 +19,7 @@ ThoMagicRenderer is available as a Unity Package Manager (UPM) package. 2. Open **Edit > Project Settings > Package Manager** and add a scoped registry if required. 3. Add the package via Git URL: ```sh - https://github.com/yourusername/ThoMagicRenderer.git + https://git.incobyte.de/public/ThomagicRenderer.git ``` 4. Wait for Unity to download and install the package. 5. Follow the usage guide to set up your scene. @@ -36,7 +36,7 @@ To use **ThoMagicRenderer** in Shader Graph: For all passes, include the following pragma directives: ```hlsl #pragma multi_compile_instancing -#pragma instancing_options procedural:setupThoMagic +#pragma instancing_options procedural:SetupThoMagicRenderer ``` Ensure that `ThoMagicRendererInclude.cginc` is included after the URP include files: ```hlsl @@ -45,7 +45,7 @@ Ensure that `ThoMagicRendererInclude.cginc` is included after the URP include fi #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/UnityInstancing.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" -#include "ThoMagicRenderer/Shaders/Include/ThoMagicRendererInclude.cginc" +#include "ThoMagicRenderer/Shaders/Include/ThoMagicRenderer.cginc" ``` Modify your shader structs and functions: ```hlsl @@ -81,13 +81,13 @@ half4 frag(VertexOutput IN) HDRP shaders follow the same pattern as URP shaders. Include the necessary directives: ```hlsl #pragma multi_compile_instancing -#pragma instancing_options procedural:setupThoMagic +#pragma instancing_options procedural:SetupThoMagicRenderer ``` Ensure `ThoMagicRendererInclude.cginc` is included after the HDRP include files: ```hlsl #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" #include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl" -#include "ThoMagicRenderer/Shaders/Include/ThoMagicRendererInclude.cginc" +#include "ThoMagicRenderer/Shaders/Include/ThoMagicRenderer.cginc" ``` Modify your shader structs and functions: ```hlsl