restructure
This commit is contained in:
parent
7e643f0704
commit
03f73195ce
@ -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;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user