i have a texture applied to a plane, and would like on screen touch to erase the selected location on that plane (like an eraser) so that in the location i have touched, the texture should be transparent. How can i do so?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Following your clarification in the comments above will this work:
Hopefully that’s what you need. Obviously you’ll need to add the code to modify only pixels near to where your cursor hits.