x


UV animation or Something else

I need to move a hole on the texture so that i can see through it like in the picture. There are two planes with textures and I should see the background texture through the hole. ( The hole is moving according to the cursor position)

alt text

more ▼

asked Dec 17 '11 at 11:30 PM

emreCanbazoglu gravatar image

emreCanbazoglu
31 4 4 5

(comments are locked)
10|3000 characters needed characters left

2 answers: sort newest

I think UV animation can't help you for that kind of http://problem.As i understood you have 1 texture (that paper) and another one on top of it which will do the masking job.

If i'm correct till here you problem probably can be solved by writing a shader.(Which is a little bit complicated.)

more ▼

answered Dec 13 '12 at 06:09 PM

Nidre gravatar image

Nidre
424 2 5

(comments are locked)
10|3000 characters needed characters left

If you want to move the UV's of that texture, you can do so by setting the main texture offset I believe:

http://unity3d.com/support/documentation/ScriptReference/Material-mainTextureOffset.html

more ▼

answered Dec 19 '11 at 05:33 AM

dannyskim gravatar image

dannyskim
3.9k 5 7 19

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x238
x104

asked: Dec 17 '11 at 11:30 PM

Seen: 840 times

Last Updated: Dec 13 '12 at 06:09 PM