I need help coming up with dynamic uv values so that my texture looks continuous through all levels of my quadtree. level 0-1 works perfectly, level 1 subdivision looks great. but continuing to level 2 and onwards is where I realized my current method isn’t going to work. I need to come up with UV values unique to each quad.
here is a working example of my code: https://codepen.io/miguel007/pen/KKeMxQY?editors=0011
line 233 in the createLodChildQuads function is where I’m doing the UV modification.
Move the red player to activate Quadtree levels.
Control the red player (W,A,S,E,R,F)
level 0
level 1
level 2