Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
2
Question by sillanstudios · Oct 11, 2015 at 06:37 PM · textureprojectorprojectors

Projector projecting on both sides of object

Hey Everyone, the projector I've setup is projecting the image I want onto and object, however, it's projecting the image on the front and back of this object. Any idea what I can do to stop it happening. It's on a sphere and the texture is going through to show on the opposite side as well. Any ideas to get it to just project on the side nearest/facing it? Thanks :D

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

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by OctoMan · Nov 03, 2015 at 07:45 PM

There is something called Decal System. I'm not sure if it's a free Asset or such. But you should check it out.

Also read this: There seem to be a solution, within the shader itself. Scroll down and check the issues and a possible fix.

http://hyunkell.com/blog/rts-style-unit-selection-in-unity-5/

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 quinng · Nov 03, 2015 at 08:10 PM 0
Share

That link looks like it solves the problem nicely. Thank you.

The Decal System is no longer free, but it looks like there are a bunch of similar plugins, so perhaps there is a free one out there.

avatar image
0

Answer by quinng · Nov 03, 2015 at 07:37 PM

I also encountered this issue while trying to project onto a sphere. I am not an expert on projectors, so I might be wrong about this, but from what I gather, projectors draw onto all the vertices of all objects that intersect their frustum, even if some of those vertices are actually outside of the frustum. So it's a feature not a bug unfortunately.

Here are some possible workarounds. I haven't tried any of them yet.

  • You can use sprites that float just above the surface in place of projectors, though this is a little tricky with a spherical object.

  • You could chop your sphere into pieces. As long as the piece on the far side is outside of the projector's frustum, the projector won't draw on it.

  • The solution I am contemplating is similar to the pieces idea. Rather than chopping up my sphere, I am thinking of projecting onto a transparent hemisphere just above its surface. This hemisphere would rotate to face the camera.

Hope this helps. If anyone has an easier solution, I would also love to know.

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

Answer by Statement · Nov 03, 2015 at 08:50 PM

You can add a realtime spotlight that has a cookie.

Comment
Add comment · Show 3 · 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 OctoMan · Nov 03, 2015 at 08:53 PM 0
Share

Nice idea, but can't be colored right?

avatar image Statement · Nov 03, 2015 at 09:00 PM 0
Share

The cookie is not colored. Though the light can have a single color.

avatar image OctoMan · Nov 03, 2015 at 09:03 PM 0
Share

Ah to bad, okay, thanks for the info.

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

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

Related Questions

Combining a projected texture with a render texture 0 Answers

Is there any Projector Simulator available in Unity? 0 Answers

Need help with projector shader 4 Answers

problem w/ projector 0 Answers

How to apply a WebCameraTexture to a projector ? 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