restructure

This commit is contained in:
Xaver 2025-06-10 11:03:38 +02:00
parent 7e643f0704
commit 03f73195ce
3 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ public class SetRenderTextureSize : MonoBehaviour
camera.targetTexture.wrapMode = TextureWrapMode.Clamp; camera.targetTexture.wrapMode = TextureWrapMode.Clamp;
renderImage.texture = camera.targetTexture; renderImage.texture = camera.targetTexture;
renderImage.color = new Color(renderImage.color.r, renderImage.color.g, renderImage.color.b, 255);
oldResolutionWidth = resolutionWidth; oldResolutionWidth = resolutionWidth;
} }