x


Textures stretch on wide objects

Whenever I change an objects (a rectangle in this case) height, width or length the texture stretches instead of tiles. Every time that happens I have to change the tiling parameters to fit the texture but then it changes every other object with that texture to those parameters. Is there any way to change it so that when you change an objects width/height/length it will tile the texture instead of stretch it to fit its length/height/width.

Here is what im talking about: http://i.imgur.com/sQBEx.png

and when I change its length: http://i.imgur.com/lI1bo.png

I want it to tile and not stretch.

more ▼

asked Mar 31 '12 at 01:24 AM

looloo1 gravatar image

looloo1
1 1 2 2

Any chance you can re-link these images?

Nov 28 '12 at 08:38 PM badProphet
(comments are locked)
10|3000 characters needed characters left

1 answer: sort newest

>Every time that happens I have to change the tiling parameters to fit the texture but then it changes every other object with that texture to those parameters.

No, it changes every other object with that material. You can't assign textures to game objects, you assign textures to materials, and materials to game objects (or more precisely, their renderers). So use different materials for different game objects that need different material parameters.

more ▼

answered Mar 31 '12 at 01:27 AM

Eric5h5 gravatar image

Eric5h5
80.1k 41 132 519

(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:

x388
x16

asked: Mar 31 '12 at 01:24 AM

Seen: 748 times

Last Updated: Nov 28 '12 at 08:38 PM