jsauca

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. Hi, I am struggling to properly align a lens flare with the sun from the skybox texture so I was wondering if anyone would have any tips on doing it properly as in the lens flare demo? -> https://playground.babylonjs.com/#QP32DP#1
  2. Hi @trevordev, No I do not require the billboards to be placed on vertices, just anywhere & randomly on the target mesh. I will have a look into how to find the triangles that make up a mesh ! Thanks for your help
  3. Hi @Deltakosh, Thanks for your help. As per the playground you have provided you can see that the billboards does not really 'populate' the target mesh. The billboard are placed on the vertices, however the target mesh has really few vertices, hence the generated billboard are duplicating and positioned on top of each others. I started to look into how to subdivide the target mesh to get additonal vertices and get the billboard to be more spead out. However, I have found out that BabylonJS does not provide a way to subdivide a mesh. I am not sure if I am going in the right direction here. Would they be another way to populate a target mesh with billboarda/sprites ? Thanks for your time, much appreciated!
  4. Hi, I would like to randomly clone billboard instances onto any meshes template/surface. I could not find much example online and I am now facing an issue that I am still not able to solve. Here is the playground https://playground.babylonjs.com/#532G31#10 Thanks for your help.