![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | AsCiiexe |
For quick prototyping I like to add a checker board parallax layer in order to make it easier to perceive distances and speed, but parallax layers don’t work well when changing the zoom and I also have to manually readjust it whenever I want to change window sizes.
Recently I’m starting to learn about shaders and after watching this video I’m sure that there has to be a way to make what I’m trying to do with that but instead of being an auto-scrolling texture it just adjusts to the player’s movement, that way I can easily dynamically resize the region rect whenever I want to change window size or zoom. Unfortunately I can’t figure out how to make it work because it’s hard to find a lot of information about shaders, I’d love to get some help!