Hi
I am using Babylonjs Decals to create a decal but its not rendering on my mesh.
Are there any workaround for this?
PG: https://playground.babylonjs.com/#XWBES1#656
Thanks
Hi
I am using Babylonjs Decals to create a decal but its not rendering on my mesh.
Are there any workaround for this?
PG: https://playground.babylonjs.com/#XWBES1#656
Thanks
Your mesh is very strange:
I set “Render wireframe over mesh” and “Display normals” in the inspector. We can see there are missing triangles and normals. You should fix the geometry and uvs of the mesh, else decals can’t be created correctly.
Thanks you @Evgeni_Popov ,I will use a different mesh.
I am trying to create admin-defined frame (decal or dynamic texture) where users can upload image.
But unfortunately pointer events seems to not work after i merge meshes.
Pg: https://playground.babylonjs.com/#1BAPRM#1625
I am only merging meshes when admin create a frame so mutiple meshes can be supported
Thanks for your help
It works for me, but you have to use a larger zOffset
value so that the decal is not stucked inside the bottle:
The problem is that with a value too large, the decal will stay visible too long when you rotate the bottle… It’s a known problem with this decal method. You can try texture decal and see if this helps.