- Home /
Changing Texture From a Point?
Hello, so I’m trying to create an effect for my game. What I want to do is when the player pushes a button, the background changes from to another texture and spreads out based on the player’s position. Don’t know if I’m overthinking it or underthinking it, but what I think I could do is using a shader to have it appear, but I don’t know how to trigger it with an input or how to have the shader track an object’s position. Any help with this would be really appreciated! If you don’t have an answer anyway, thank you or taking the time to read this!
(Below is kind of an example diagram as to what this effect would look like. The Hexagon represents an object and the green is one texture and the red is another texture. And that red circle expands)
Your answer
Follow this Question
Related Questions
How to use a shader to write to a mipmap (partial mipmap update) 2 Answers
Mobile Shader with Albedo Color and Normal Map 0 Answers
There is an issue with texture wrapping around sphere's in unity 0 Answers
Retrieving information from texture not working in shader graph 0 Answers
How to lighten/darken a greyscale shader 0 Answers