• 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 /
avatar image
0
Question by AngryCSharpNerd · Mar 23, 2014 at 12:18 AM · cameracullingclippingcloudscutoff

How to cut off these clouds on my camera?

I'm out of ideas. I have these animated sprite clouds that move in a lerping, continuous motion, which works great, except that the camera will view the view clouds that should be cut off, because it doesn't look pretty.

alt text

alt text

untitled.png (25.8 kB)
untitled2.png (51.6 kB)
Comment
Add comment · Show 3
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 Simon-Larsen · Mar 24, 2014 at 02:15 AM 1
Share

A simple fix would be to change the viewport rect on your camera component. But I'm not sure if that's the solution you're looking for

avatar image Lairinus · Mar 24, 2014 at 03:37 AM 1
Share

Going off of what Simon said, you could also use multiple cameras. Have one camera render the sky/groud, and have the other camera solely dedicated to rendering the clouds by placing them in a different layer.

If you do this method, you will have to change the viewport rect of the second camera or else you will have the same problem.

avatar image AngryCSharpNerd · Mar 24, 2014 at 10:46 AM 0
Share

Interesting.. although the black plane is an easier answer, that seems very interesting. I'll try to use that sometime.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Andy Charlie · Mar 24, 2014 at 04:25 AM

what about put 2 black rectangles on the sides? like a black plane or something

Comment
Add comment · Show 2 · 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 AngryCSharpNerd · Mar 24, 2014 at 10:44 AM 0
Share

Thank you, that would definitely work.

avatar image trololo · Mar 24, 2014 at 11:00 AM 0
Share

And why don't you just specify a specific ratio?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

25 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 avatar image 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

Is it possible to render a solid color where the Camera clips to the Near Clipping Plane? 1 Answer

How to use two cameras, one for culling one for rendering 2 Answers

Culling, cameras and viewports and clipping issues, Oh my! 0 Answers

Make Camera not render individual GameObject? 1 Answer

Editor's Camera Clipping Plane 11 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges