- Home /
Question by
MindBlowingGames · May 13 at 01:18 PM ·
shaderrender texture
how to place textures on a grid in shader graph
hello everyone! this is what I'm trying to achieve.
I have 4 render textures rendered by 4 cameras around the scene and I have created a shader graph to give them a CCTV effect. I want to place these textures like tiles; next to each other. rn I'm doing it using a flipbook node to change the tiling size and offset of the render texture and to create a mask using a rectangle node and then lerping the render textures using that rectangle mask. like this:
the issue is that if I want to add more rows or columns I have to tweak the ones I've already added and also add a bunch of stuff for every new render texture. how can I place these textures next to each other in a neat and clean way?? please HELP!
screenshot-2022-05-13-173305.png
(340.3 kB)
screenshot-2022-05-13-173408.png
(90.9 kB)
Comment