Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


max123 last won the day on November 7 2017

max123 had the most liked content!

About max123

  • Rank
    Advanced Member

Profile Information

  • Location
    London, UK

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Try adding this to your code: canvas.setAttribute("touch-action", "none");
  2. Hey blokes, Any tips on running Babylon smoothly in fullscreen (desktop)? The scene I'm working on isn't too heavy ~30K vertices. The framerate is generally acceptable (45-60). Yet as soon as the window is resized to fullscreen the scene crashes! The crash happens on retina displays only (I've set engine.setHardwareScalingLevel(1);). On non-retina, there's no crash but performance drops dramatically.
  3. Hi folks, I'm having trouble with shadows - they seem to be 'floating', as you can see from the screenshots. The problem is much worse when I don't use usePercentageCloserFiltering. As you can see, the meshes do intersect! Unfortunately, I can't do a PG as it's a complex scene and is heavily copyrighted The settings for shadows are: let shadowGenerator = new BABYLON.ShadowGenerator(2048, shadowLight); shadowGenerator.usePercentageCloserFiltering = true; Any ideas?
  4. This is Blender 2.79b, Babylon exporter v 5.6.3. I'm using Blender Render, but this is what I've found so far: 1. I import a model (bfx / obj) into blender, then export to Babylon => everything works fine. 2. I strip all materials from ONE of the models, export to Babylon => BAM! Error!. I've attached the file. Thanks! stairs.blend.zip
  5. Hi guys, Does anyone have any idea what can cause this?
  6. Hi, Is it possible to use your own vertex shader and use the default fragment shader, leke so: shaderMat = new BABYLON.ShaderMaterial("shader-123", scene, { vertexElement: "vertexShaderX", fragmentElement: ???, // Need to use the default shader! }, { attributes: ["position", "normal", "uv", "vUV"], uniforms: ["world", "worldView", "worldViewProjection", "view", "projection"] }); Cheers!
  7. Has anyone come up with a solution for our old friend Ocean yet? This and this look interesting, I've just got no clue how to implement in Babylon!
  8. @Arte, thanks for the input. Changing kernel size doesn't do anything to the shadow's blur though..
  9. Hi @Deltakosh, I've updated the scene to use a spotlight: https://www.babylonjs-playground.com/#T70UQK#5 Now the shadow is just gone.
  10. Thanks @Deltakosh! No self-shadows - got it. However, shadowGenerator.blurKernel doesn't do anything in this example: I've tried values ranging from 2 to 32,768 - the shadow remains unchanged.
  11. Hey @Deltakosh, here's the PG: https://www.babylonjs-playground.com/#T70UQK#1
  12. Hi, I'm having trouble with applying BlurExponentialShadowMap to a scene created in Blender. I've tried a bunch of settings and lights, yet no matter what I do, the whole bloody scene remains grey! I've tried all lights in Blender that can work with shadows in Babylon, I've set some extreme settings (kernel 4 - 512)... The blender file is attached. The settings I tried are below: shadowGenerator.useBlurExponentialShadowMap = true; shadowGenerator.useKernelBlur = true; shadowGenerator.blurKernel = Any ideas guys? test.blend.zip
  13. Who knows? With summer heat like this? People tend to do crazy things. Bad things. Horrible things... Where's my hammer?
  • Create New...