Hi @NRA,
The used readPixels
function is now asynchronous because of
Here is an updated PG with async/await:
Hi @NRA,
The used readPixels
function is now asynchronous because of
Here is an updated PG with async/await:
Thanks a lot again!
Hi @Gijs,
Excuse me for asking your help again! I saw in a earlier post you teaching how to adjust the getUV() for a new plane. I am trying to do that but for a non square one, and I do not figure out how to apply the scale on separated element at “vec”. Do you have a clue?
Thanks
Hi @NRA, no problem, this works in the PG:
Uncomment line 30 for right scaling.
Is this what you were looking for?
By the way, GroundMesh
has a getNormalAtCoordinates
, but no getUVAtCoordinates
, this would be useful to add.
Awesome @Gijs, that is what I am looking for!
Thanks you so much! Merry Christmas and a Happy New Year!!!
@NRA
You too
Hey this seems to be broken with 5.x, the playground examples are giving a blank texture.
Works fine on 4.2.
Yes, there is already a thread : Texture Canvas does not work with Babylon 5 - #4 by Cedric