From 03f73195ce2545d6203c20f06631a5d2f6720ad9 Mon Sep 17 00:00:00 2001 From: Xaver Date: Tue, 10 Jun 2025 11:03:38 +0200 Subject: [PATCH] restructure --- blueberryPeak/Assets/{Shaders => Scripts}/Pixelation.meta | 0 .../{Shaders => Scripts}/Pixelation/SetRenderTextureSize.cs | 1 + .../{Shaders => Scripts}/Pixelation/SetRenderTextureSize.cs.meta | 0 3 files changed, 1 insertion(+) rename blueberryPeak/Assets/{Shaders => Scripts}/Pixelation.meta (100%) rename blueberryPeak/Assets/{Shaders => Scripts}/Pixelation/SetRenderTextureSize.cs (92%) rename blueberryPeak/Assets/{Shaders => Scripts}/Pixelation/SetRenderTextureSize.cs.meta (100%) diff --git a/blueberryPeak/Assets/Shaders/Pixelation.meta b/blueberryPeak/Assets/Scripts/Pixelation.meta similarity index 100% rename from blueberryPeak/Assets/Shaders/Pixelation.meta rename to blueberryPeak/Assets/Scripts/Pixelation.meta diff --git a/blueberryPeak/Assets/Shaders/Pixelation/SetRenderTextureSize.cs b/blueberryPeak/Assets/Scripts/Pixelation/SetRenderTextureSize.cs similarity index 92% rename from blueberryPeak/Assets/Shaders/Pixelation/SetRenderTextureSize.cs rename to blueberryPeak/Assets/Scripts/Pixelation/SetRenderTextureSize.cs index 32d8774..8041334 100644 --- a/blueberryPeak/Assets/Shaders/Pixelation/SetRenderTextureSize.cs +++ b/blueberryPeak/Assets/Scripts/Pixelation/SetRenderTextureSize.cs @@ -44,6 +44,7 @@ public class SetRenderTextureSize : MonoBehaviour camera.targetTexture.wrapMode = TextureWrapMode.Clamp; renderImage.texture = camera.targetTexture; + renderImage.color = new Color(renderImage.color.r, renderImage.color.g, renderImage.color.b, 255); oldResolutionWidth = resolutionWidth; } diff --git a/blueberryPeak/Assets/Shaders/Pixelation/SetRenderTextureSize.cs.meta b/blueberryPeak/Assets/Scripts/Pixelation/SetRenderTextureSize.cs.meta similarity index 100% rename from blueberryPeak/Assets/Shaders/Pixelation/SetRenderTextureSize.cs.meta rename to blueberryPeak/Assets/Scripts/Pixelation/SetRenderTextureSize.cs.meta