Dreik

Members
  • Content Count

    29
  • Joined

  • Last visited

  1. Dreik

    Texture _isBlocking problem

    ok I fixed my bug... thanks for help
  2. Dreik

    Texture _isBlocking problem

    So as I said if _isBlocking is set to true nothing will render right?
  3. Dreik

    Texture _isBlocking problem

    So how can anything with diffuseTexture be ever rendered if isBlocking is always true? Look at the function here: Babylon Standard Material this will always return fals resulting in failing to render any mesh.
  4. Hi, I encountered really weird situation with texture's property isBlocking. At start of the program everything works well but after I dispose enginge, scene...well everything and I start over and try to create texture again the property _isBlocking is always true so none of the meshes using that texture doesn't render. How does this property work, when does the engine should change this property to false ? (Texture constructor sets it to true).
  5. Dreik

    Texture hasAlpha performance issue

    You are probably the most hard working person I have ever met @Deltakosh
  6. Dreik

    Texture hasAlpha performance issue

    @aWeirdo For some reason typeScript can't see the overwirten property. So I guess I'm off to casting to any.
  7. Dreik

    Texture hasAlpha performance issue

    Wow thank you for the help. @aWeirdo I didn't even know that's possible like this.
  8. Dreik

    Texture hasAlpha performance issue

    I know, it would be great if I could do it but I can't use _hasAlpha because the build won't pass. It's an error because it's private.
  9. Recently I enountered an issue with texture has alpha performance. Public attribute 'hasAlpha' is 100 times slower than '_hasAlpha'. Does anyone know why is that and if there is a way to easily fix it? I can't release code to production with private attribute setter. I made two playground to show the problem. http://www.babylonjs-playground.com/#9FMJCS - public hasAlpha 80411 ms http://www.babylonjs-playground.com/#R8QY81 - private _hasAlpha 787 ms
  10. @sable That was just perfect for my usage Now I only need to understand it and everything will be fine.
  11. I'm doing line-plane intersection to pick a point on a plane I need. but if I just change the target of the camera to it camera will rotate right? So it won't look smooth. What I need is to make it look like you are constantly watching from the top or the angle you set by rotating camera. I don't want extra rotation from zooming.
  12. Did anyone mabey try to make ArcRotateCamera zoom to mouse position instead of middle of the screen? If not is that doable with that camera or should I work with another one?
  13. Dreik

    Grid Material On GUI

    But I think grid should always be transparent with lines well visible. background = null doesn't work. It will still render background.
  14. Dreik

    Grid Material On GUI

    Great! I hope to see it on npm soon
  15. I need to create scalable grid like the one on image. I thought about placing it on fullscreen gui so I won't have to create gigantic mesh but I have no idea how to use GridMaterial on BABYLON.GUI in a way it would work and be displayed. Any help would be appreciated.