• 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
Question by TinyLittleCat · Jul 13, 2012 at 03:10 PM · texturechangedynamic

Dynamically changing _part_ of a texture

-This might be a double post, I'm not sure if my other one got through

Hi there,

I've got something I'd like to do which, to me at least seems a little ambitious, and I haven't even got the slightest idea on how to implement it - or whether it's even possible.

I've attached an image to help illustrate/confuse people. Imagine I've got a completely black room. I'd like my character to hold a torch or w/e, and where ever the torches light hits turns purple. (this is a mega simplified version). But, because of the spread of the torch, obviously the closer to the wall you are, the smaller the purple area (area being hit) and further away the larger it is. I'd also like to make it less intense the further away you are, but that's after everything else is sorted out.

I guess I workout how far the wall is from my torch, then somehow make that distance into a huge cone (with the tip touching the torch) and the bottom circle touching the wall.

I'll be honest I don't know how, or whether this can be accomplished. if it's really easy, and I'm being an idiot, sorry.

http://img4.imageshack.us/img4/9334/terribletorchdemo.png

Thanks in advance, you wonderful, wonderful people

-Ollie

p.s. Sorry for the absolutely terrible description

Comment

People who like this

0 Show 0
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

2 Replies

  • Sort: 
avatar image
Best Answer

Answer by Piflik · Jul 13, 2012 at 03:13 PM

Not sure if that is what you want (since I haven't used them myself), but have a look at Projectors.

Comment
Bunny83

People who like this

1 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 TinyLittleCat · Jul 13, 2012 at 10:30 PM 0
Share

Thanks so much - that sounds perfect :)

avatar image

Answer by whydoidoit · Jul 13, 2012 at 03:13 PM

It sounds like what you want to use is a Projector

Comment
Bunny83

People who like this

1 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 TinyLittleCat · Jul 13, 2012 at 10:31 PM 0
Share

Thanks so much - that sounds perfectx2 Gave the answer to Philipp Jutzi as he has less rep :) Thank you nonetheless<3

avatar image Piflik · Jul 13, 2012 at 10:48 PM 0
Share

You can accept both answers ;)

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

6 People are following this question.

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

Related Questions

Dynamically Changing the texture of an object 1 Answer

Dynamically changing part of a texture v2 1 Answer

chang background from day to night? 2 Answers

Cost of changing texture 0 Answers

Add dynamically texture to 3D Object 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