Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 glad · Jul 23, 2014 at 02:00 PM · projectors

How does the unity projector work ?

Hi!

I try to create my own mask for the projector. However, I have some difficulties of understanding of how it works. Let me tell you how to reproduce the picture that make me confusing:

  1. Create a cube or capsule.

  2. Create an empty gameobject and make it to be the child of the cube

  3. Add projector component to the empty gameobject

  4. Add your material to the projector ( I have a black circle with a white background) and don't forget to make texture to have wrap mode Clamp.

So.. if you did all thing as I had, you probably will see a large texture over the terrain. If you inverse your texture all will be OK. As far as I understood my mask wasn't correct. But what I really do not understand is why do I see the huge texture that is much bigger than the projection area ? Shouldn't it be limited by projection area ?

Thank you in advance.

P.S. To show you how big it is I'll provide you a screen: alt text

Comment
Add comment
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

1 Reply

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

Answer by grindhouse · Jul 23, 2014 at 04:03 PM

I assume you are not using the provided material (projector/light or projector/multiply) and it won't work that way.

see http://docs.unity3d.com/Manual/class-Projector.html

  • Projector allows you to project a Material onto all objects that intersect its frustum. The material must use a special type of shader for the projection effect to work correctly - see the projector prefabs in Unity’s standard assets for examples of how to use the supplied Projector/Light and Projector/Multiply shaders.*

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 glad · Jul 23, 2014 at 05:32 PM 0
Share

Seems to me you are correct. I think I must learn about shaders to understand it correctly. The one thing I must say that I used multiply material and tried to create my own mask, but I couldn't understand how to create it. For example, could I create a mask that would be multi-colored ?

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.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Possible bug with projector/s 1 Answer

Dot worldNormal with _Projector 'forward'? 1 Answer

Low intensity of projector in dark enviornments 0 Answers

Question regarding the blob shadow projector shader 0 Answers

Planar UV Mapping/Projectors 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