Sebavan

Members
  • Content Count

    1230
  • Joined

  • Last visited

  • Days Won

    36

Sebavan last won the day on November 30 2018

Sebavan had the most liked content!

About Sebavan

  • Rank
    Advanced Member

Recent Profile Visitors

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

  1. The forum as moved here : https://forum.babylonjs.com/t/welcome-to-the-new-babylon-js-forum/18 you should post there for any questions. Regarding yours, the side effects not being filled in the package.json (currently under dev) you need to import from individual modules: import { Engine } from "@babylonjs/core/Engines/engine"; import { Scene } from "@babylonjs/core/scene"; import { Vector3 } from "@babylonjs/core/Maths/math"; import { FreeCamera } from "@babylonjs/core/Cameras/freeCamera"; import { HemisphericLight } from "@babylonjs/core/Lights/hemisphericLight"; import { Mesh } from "@babylonjs/core/Meshes/mesh"; // Side effect import to fill in the default material on scene and Mesh.CreateBox functions import "@babylonjs/core/Materials/standardMaterial"; import "@babylonjs/core/Meshes/Builders/boxBuilder"; This is all detailed in the package doc: https://www.npmjs.com/package/@babylonjs/core/v/4.0.0-alpha.21 https://doc.babylonjs.com/features/es6_support#tree-shaking
  2. You can replace cdn.babylonjs.com by preview.babylonjs.com to ensure you are using compatible versions.
  3. Hello, if you are trying to reduce the size of your package, we will ship in 2 weeks our es6 packages allowing proper tree shaking. Would that fit to you ?
  4. Hello and Welcome, The forum has moved to a new home: https://forum.babylonjs.com Do you mind posting again there ?
  5. I guess it would be easier to start the thread on the new forum: https://forum.babylonjs.com
  6. Hello and Welcome, The forum has moved to a new home: https://forum.babylonjs.com Do you mind posting again there ?
  7. oh it seems there is a cache on the projection somewhere let me take a look
  8. Pack: https://github.com/BabylonJS/Babylon.js/blob/master/src/Shaders/shadowMap.fragment.fx#L2 Unpack: https://github.com/BabylonJS/Babylon.js/blob/master/src/Shaders/ShadersInclude/shadowsFragmentFunctions.fx#L3 Hope that helps
  9. I am not familiar enough with angular but did you have a look at this procject ? They might help you with the angular<->babylon setup : https://github.com/inigoiparragirre/ng4-babylonjs
  10. ohhhhh in this case you would need to use the inspector you can find on our dist folder in the 3.2.0 release.
  11. This seems related to your other issue: So could you confirm you are willing to disable touch rotation and mouse drift/strafe when clicked ?
  12. Yup we are relying on the same kind of code in shadows for instance to store depth on 4 bytes to simulate a 32 bits float depth buffer 🙂
  13. Do you have any error message in the console ? are you relying on the same version of the inspector and babylon ?