So I’ve been trying to figure out a way to do this without having to create a bajillion new textures and materials. Basically, I’m trying to pan across a material with the panner, but only across a certain part of the texture.
The problem I’m having is this. Using the UV coordinates (and a texture coordinate node), I can sort of manipulate which part of the material is showing. The problem is, it always has the same “starting” point. Like, I can show the coordinates from 0 to 0.5 but I can’t get it to show 0.5 to 1.
Put another way, I can pan across 1 and 2 by setting the UTiling and VTiling to 0.5, but I can’t figure out a way to pan across 3 and 4. Much less diagonally.
Essentially, using the UV coordinates, I can shift up and left, but not down and right. I have yet to figure out a way to show panel 4 by itself. Using a number greater than 1 just starts repeating the texture (which makes sense).
This might just be a limit of how textures work in Unreal. It doesn’t look like I can define a ‘start’ and ‘end’ coordinate, just the ‘end’ coordinate and the start is stuck at 0. If I have to, I guess I’ll cut up all of my textures but that is an incredible undertaking of time I’m not ready to commit to unless I have no choice.
Just some background info, the reason is because I want some texture “zoomed in” on the background wall showing only a section of the material the player is choosing. The player can see a smaller version of a the whole material in front of the screen. I only have 4 panels for the example for simplicity’s sake, but I’d like to be able to pan across any part of the material.
For that matter, is there any way to map something like InputAxis (from like WASD) to the coordinates of a texture? So if the player presses “up” it scrolls up, “right” it scrolls right, etc.
Say I start at panel 5, would it be possible to pan across the texture towards any of the other panels based on user input (joystick, mouse, whatever)