Sunday, November 6, 2022
HomeGame Developmentheightmap - Quadtree UV mapping texture

heightmap – Quadtree UV mapping texture


I need assistance developing with dynamic uv values (normal formulation) in order that my texture seems to be steady by all ranges of my quadtree. stage 0-1 works completely, stage 1 subdivision seems to be nice. however persevering with to stage 2 and onwards is the place I spotted my present methodology isn’t going to work. I have to give you UV values distinctive to every quad at totally different ranges.

here’s a working instance of my code: https://codepen.io/miguel007/pen/KKeMxQY?editors=0011

line 233 within the createLodChildQuads operate is the place I’m doing the UV modification.

Transfer the pink participant to activate Quadtree ranges.
Management the pink participant (W,A,S,E,R,F)

stage 0

enter image description here

stage 1

enter image description here

stage 2

enter image description here

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments