How to continue material between sprites.
I have levels made up of objects of different size and shape and I would like to apply my shader material to all of them in a way that it continues from object to object instead of restarting at each, which produces unappealing transitions:
In this case I would like blue blocks to have a smooth transition as if it was one game object.
My idea was to make one big sprite behind them and apply shader to it, while these objects will somehow be windows to it, but not quite sure how that could be implemented.
Answer by Arteminio777 · Mar 06, 2019 at 03:15 PM
Managed to achieve desired result by using SpriteRenderer's mask interaction to visible inside mask, then background image is only seen through the objects themselves giving continuous texture,
Your answer
Follow this Question
Related Questions
Blending tiles with larger textures 0 Answers
Shader not working properly in a build 0 Answers
apply lighting to custom shader made in shader graph? 0 Answers
Shader invert sprite colors 2D 1 Answer
Increase thickness of outlines 0 Answers