• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Sep 02, 2014 at 06:14 AM by zombience for the following reason:

Problem is not reproducible or outdated

avatar image
0
Question by zombience · Oct 18, 2012 at 06:03 PM · cameragraphicsimage effectsopenglrender texture

having render texture problems... uncertain whether it's my system or unity

Hi, I'm just beginning to use render textures in a scene because I'd like to have visual fx affect only certain objects in the scene.

My render problem can be seen here: http://imgur.com/7RwQ1

What is happening is clearly a case of feedback (not clearing the render buffer?), but also the fact that somehow the image of my project heirarchy somehow also gets put into the render texture.

Is there something I don't know about render textures, or is this a unity problem, or might it be my particular system?

Machine specs are:

OSX 10.7.5 2 x 2.4 GHz Quad-Core Intel Xeon 20 GB 1066 MHz DDR3 ECC ATI Radeon HD 5770 1024 MB

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image TheSkullKrackr · Jul 08, 2019 at 01:09 PM 0
Share

Set the clear flag to solid color and set the solid color's apha to zero

1 Reply

  • Sort: 
avatar image
2

Answer by jbaumann · Jan 02, 2013 at 07:47 PM

This sounds like what happens when the camera that is rendering to the Render Texture has its "Clear Flags" parameter set to "Don't Clear". Try setting it to something else.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image WaqasHaiderDev · Jul 01, 2020 at 07:23 PM 0
Share

Thanks a lot for this solution,

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Image Effect Scripts on a separate object from Camera 1 Answer

How does Unity handle alpha sorting? 2 Answers

camera for rendertexture doesn't render in urp+vr,The camera for rendertexture doesn't render in vr + urp. 0 Answers

Unity equivalent of ARB_occlusion_query (glGetQueryObject)? 0 Answers

Visibility Analysis from point on terrain 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges