Lary

Members
  • Content count

    7
  • Joined

  • Last visited

  1. GUI inputText no use on mobile

    Thanks Dad72, I already use a virtual keyboard, still no use. The problem is that there's no response for the touch action....
  2. Hi, anyone can help me please! I'm using GUI inputText in my project. I can type in letters on PC and everything seems ok. But when I operate it on my ios mobile, nothing happens when I touch on the text area. Neither can I type directly in the textarea, nor there is a prop window for me to type. But I use the playground demo :https://www.babylonjs-playground.com/#UWS0TS on my mobile, it works. so strange. So anyone can tell me why ,and how I can solve this problem? Many thanks!
  3. gradient material

    friend, your heartful and long reply is very much appreciated. and I'm happy that you treat me like a child, lol. Actually I'm rather a rookie at babylonjs, I really like using it to make fancy and fantastic effect, thanks for your guys' effort in contributing to this incredible framework. regards! Lastly, I will try to put my project at PG, and will @ you once finished. Time to sleep in China, good night!
  4. gradient material

    Thanks for correcting the category, DK. I haven't tried to post on PG before. I may create one later. Can you tell me which files to include if I want to use gradientMaterial? I included gradientMaterial.js and Babylonjs.3.0.js, but came across above errors. I was told there maybe a conflict between material.js and babylon.js / Do you have any ideas?
  5. Hi all, I want to make a gradient material, which has silver color from top and purple color at bottm ( pls. see attached pic); I found "babylon.gradientMaterial.min.js" this file from github. and copied code from https://doc.babylonjs.com/extensions/gradient ; var sphere = BABYLON.Mesh.CreateSphere("sphere", 32, 2, scene); var gradientMaterial = new BABYLON.GradientMaterial("grad", scene); gradientMaterial.topColor = BABYLON.Color3.Red(); // Set the gradient top color gradientMaterial.bottomColor = BABYLON.Color3.Blue(); // Set the gradient bottom color gradientMaterial.offset = 0.25; sphere.material = gradientMaterial; but I came across the problem with "Uncaught TypeError: Cannot read property 'getTextureMatrix' of null" Can anybody help me what caused this error? can you suggest any other solution to gradient effect, except shadows, coz it's quite hard for me to learn in short time in my project. Thanks in advance.
  6. Hi All, plz. help me with this issue. I'm applying a texture mapping to an object, but it turns out to be multicolors on the surface. see the below left picture shown(desk and sofa). I wonder if it's caused by binary file? Coz when I set binary false, it worked as the mapping picture I wanted(see below right picture). What can I do if I want to use binary file while showing the correct mapping on object. Thanks in advance.