- Home /
Question by
ASDUnity · Jan 29, 2015 at 01:56 PM ·
cameratexture2dmonobehaviour
Setting background texture dynamically
I want to set a texture as a background texture dynamically. I would want to draw this texture when camera starts drawing, ie OnPreRender. Is there a way to do this, I am able to load the texture using Resources.Load, but not able to draw it.
I don't want to draw from onGUI.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613181845im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Issue With Simultaneous ReadPixels Calls 0 Answers
AutoScale Orthographic Camera 1 Answer
Render Android device camera from native pointer 0 Answers
Render a list of objects into a Texture2D array 0 Answers
Rendertexture to texture2d in Unity5 0 Answers