Search the Community
Showing results for tags 'uv map'.
-
Hello all, I want to get the UV map from the object to a 2D canvas... but, I 'am a little lost, can't find the way to get the correct UV from the object... https://playground.babylonjs.com/#V3J337#1 I'am on the right way, or i'am totally wrong ? Thanks for the help (Sorry for my poor English)
-
Hello guys, I was wondering if there is a way to keep using a mesh's UV map after changing it's material. My game currently uses a cell shader, so I have been giving meshes ShaderMaterials and then calling ShaderMaterial.setTexture() to give it the same texture as before. This successfully applies the cell shader and texture, but the UV map is lost in the process so the texture no longer lines up. I've looked through the mesh, material, submaterials, and texture's attributes and all i can find are u/v offset, scale, and Ang (which are 0, 1, 0 respectively), but in the .babylon file for the model I see an attribute caled "uvs" which I'm assuming is what I need to copy. Thanks in advance!
-
Hi, I made a custom plane using BABYLON.VertexData. And then I want to apply the floor texture image to my plane, but it's not working properly. Here's my scene. http://www.babylonjs-playground.com/#1YIME0#1 I'm a very beginner of Babylon.js so I'm not familiar with uv map of meshes, so I suspect a misuse of uv mapping. I refered to this article: https://blogs.msdn.microsoft.com/eternalcoding/2013/06/27/babylon-js-a-complete-javascript-framework-for-building-3d-games-with-html-5-and-webgl/ And if there are other ways to make custom plane efficiently please let me know how to do that. Help me for this situation
- 6 replies
-
- babylon.js
- uv map
-
(and 1 more)
Tagged with: