Render texture appearing as black in scene
I'm trying to have a sprite display what a camera sees. Right now I have a render texture showing what the camera see then a material showing what the render texture see applied to a sprite, but in the scene view and in-game the sprite only shows up as black. In the assets folder both the material and render texture show properly. What can I do to fix this?
Edit: I have realized that it's not just black, but rather the sprite renderer is covering the material. The sprite renderer will show whatever sprite I put in it but never the material also on the game object.
Answer by Toron4 · Mar 11, 2018 at 07:47 PM
Of course, this is not a perfect solution but by creating a cube then applying my material to the cube it worked fine, I then used that cube as the sprite needed.
Your answer
Follow this Question
Related Questions
Screen cut off on iPhone 4 when using orthographic camera 1 Answer
Render to minimap on command 1 Answer
camera viewport from rect to triangle 0 Answers
I want to make my camera follow the player ONLY when the player is on solid ground [2D] 0 Answers
Why does everything render in the scene editor, but not after I build it? 0 Answers