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
1
Question by CommitteeWind · Jun 11, 2012 at 04:07 PM · transparentbulletholesee-through

See-through Bullet Holes

I am trying to create actual bullet holes in my walls. I am not "destroying" them, I just want to see straight through where I've shot. I'm not sure where to start on this one...

I know how to do decals, but I suppose the best option is editing the texture at run-time?

Comment
Add comment · Show 7
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 Fattie · Jun 11, 2012 at 04:15 PM 0
Share

there is a damn good answer on the forums, about making a shader that can make transparent "xray" areas. I can't find it, sorry ...

yes, you can edit the texture at runtime, that's what i've done. and decals or projectors as such won't help.

avatar image CommitteeWind · Jun 11, 2012 at 06:32 PM 0
Share

I think a cut-out shader will work. I just need to modify the pixels of the cut-out shader in a way that makes sense to where the bullet hit. That's going to be tricky.

avatar image Fattie · Jun 11, 2012 at 07:10 PM 0
Share

Storm, normally a cut-out shader would give you a repeating pattern. as far as I know that would perhaps be a dead-end

This is infuriating, because, the question was discussed extensively here, and indeed there is a huge forum.unity entry about it, where someone built an amazing solution.

If you could simply find that page, your job would be finished...

I am damned if I can search it up, very frustrating !!!

I am going to have another look

avatar image CommitteeWind · Jun 12, 2012 at 03:37 PM 0
Share

You're right, the cutout shader might not be a viable option here.

avatar image Fattie · Jun 12, 2012 at 04:08 PM 2
Share

it's driving me nuts I can't find the LONG LONG answer on this site that TOTALLY diuscusses the issue in great detail, and I can't find the long long answer on FORU$$anonymous$$S that has a total and complete working solution to what you want to do.

sucks !

Show more comments

1 Reply

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

Answer by Fattie · Jun 12, 2012 at 10:27 PM

Wait! I've possibly found the post ...

http://forum.unity3d.com/threads/35808-Projecting-a-hole?p=232985

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 Julien-Lynge · Jun 14, 2012 at 03:42 AM 0
Share

That is really cool - need to take the time to poke through that example.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to make an object visible through walls 2 Answers

How to make an object visible through walls 1 Answer

Semitransparent GUI Buttons 3 Answers

How to make a GUI that isnt alpha transparent? 1 Answer

No transparency for EditorGUILayout.TextField 1 Answer


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