tiled background image

What would be the best way to create a static tiled background for a scene? Is it possible to use texture-tiling in GUI elements?

What im trying to achieve is a static background for my scene (which consits of 3d elements and gui elements) just like a tiled windows desktop. The background texture should be drawn pixel-perfect and tile across the whole screen. The texture should not be scaled or stretched when using different aspect ratios.

Has anybody done this before? Thanks a lot for your inputs!

3 Answers

3

You can use tiling in a sky box, probably the best option. Alternatively you can use a 2D plane with a texture on it. Set mip mapping off on the texture so that it appears crystal clear at all distances, if you have a moving camera in the scene you can set a second background camera that renders only the 2D background plane and set it at a lower depth than the main camera so that every other scene item gets rendered over it, turn sky box culling off on the main camera to get this effect.

I think you mean mip mapping, not bump mapping. ;)

–

that's what you get for typing without coffee

–

Appreciate this is pretty old by now, but I was looking at doing this for my project, and I came across this tutorial, which I found really useful. Thought I’d share in case it helps someone else :slight_smile:

http://schemingdeveloper.com/2014/10/15/tiling-sprites-unity/

Out of the box: Unity Asset Store - The Best Assets for Game Making