Closed theDRB123 closed 1 year ago
@theDRB123 is it possible for you to merge master into your branch, master has the modified Perlin call to fix the color change issue.
refer to https://github.com/Glowstick0017/Little-Plane-Project/pull/44/commits/a2e1e9c532058e8d605576e1798036ea913b6d48 to see the changes made
The problem appeared to be complex , but was solved by just changing how the combination of PosX and x changes , depending on the heightfromground ,
changes :
PosX doesn't need to scale with changing height so it is fixed ,
the x is replaced by x-width/2 , and y is replaced with y - height/2 to bring the origin of scaling from upper left corner to the center