fernfreak

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. I was wondering if there's any way to apply a color tint to Images from babylonjs-gui. It has a .color and .disabledColor but neither of these seem to have any effect on what is drawn. Otherwise, is there any other technique with which I could tint the image sprite?
  2. Thanks for the quick response! :) in that case, do most people use some sort of manifest file, load that first, then load the files listed within? Or do they load a zip of some sort?
  3. I was looking through the Loader class, and it seems that in order to load an asset, I need to name each file, like in: loader.add('example-sprites', 'example-sprite-sheet.json'); Is it possible to load all of the files in a folder without specifying each one by name? I know that I'd like to cache all the files within a specific folder, but I don't actually know what the filenames are prior to loading. If this isn't possible, what would be the best practice for this sort of situation when the files aren't known? Really appreciate any advice on this-- thanks in advance!
  4. I skimmed your sample (http://www.babylonjs-playground.com/#GTHTR#1) and this was incredibly useful for getting the mesh to clone properly on mobile. Unfortunately, once I use geometry.copy, the subMesh data is lost and I am unable to apply my multi-material. (I have subMeshes[2] on the original, but only subMeshes[1] on the clone) such that the textures are screwed up. On the other hand, if I don't do the geometrycopy, I am unable to have unique animations on the clones. Is there some way of doing geometry copy, but maintaining the subMesh data? Thanks in advance for the help!