- Home /
is there anyway to make a texture seamless at runtime through script
i am making an app to open device camera and click an image and use it as texture on different game objects. but the problem is that its not coming properly because its not an seamless texture or we have to set tiling for all objects according to the click image at run time. so any help would be appreciated thanks.
Answer by Bunny83 · Apr 22, 2016 at 10:11 AM
No, creating tileable textures even with simple structure like a brick-wall is quite difficult. You usually have to copy some parts of one end to the other end and use some image editor magic tools to blend over the seams of the image. Usually, when done in Photoshop or other image editors you would simply offset the image with wrap mode so you basically move the seems at the edges into the center of the image. This makes the new edges seemless. Now it's your job to get rid of the seems in the center. This is a quite demanding process and very specific for the actual texture motive. This can't be automated in simple way.
Just see some tutorials:
so we can not use a texture as seamless or convert it to seamless using a c# script?
I want a way so that i will be able to use my clicked images from any device as a proper co$$anonymous$$g texture like a seamless texture. its a function of that application that at runtime user will be able to use camera and click image and then use it as a texture on the given objects but after setting it is not co$$anonymous$$g properly on those game objects.
Your answer
![](https://koobas.hobune.stream/wayback/20220612075304im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Seamless texturing? 0 Answers
Hexagonal Shape for 360 radius (painting texture) 1 Answer
Procedural planet to sphere texture 0 Answers
Instantiated model texture change? 0 Answers
Spinning platform C# script correction & wrong texture 1 Answer