Search the Community

Showing results for tags 'gridmaterial'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Coding and Game Design
  • Frameworks
    • Phaser
    • Pixi.js
    • Babylon.js
    • Panda.js
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Found 3 results

  1. I am trying to make a 3d reference grid with a cube, and I would like to know if there is a way to start the gridMaterial's grid at one of the mesh vertices. By default it seems to start at the center of the face, and it is not quite what I need - if cube size is not a multiple of grid ratio, cube vertices are not grid points (like so - https://www.babylonjs-playground.com/#5S6MD#15). Is there a way to do this with gridMaterial, or should I explore other possibilities?
  2. I'm not sure if this is intended or it just isn't able to, but the GridMaterial currently doesn't seem to support shadows. I've tried different methods, but with no luck. Using an example of the BabylonJS shadow tutorial moving the ground into a grid shows this problem clearly; https://www.babylonjs-playground.com/#Y5IZCF#2 It would be awesome if the GridMaterial could support this as it provides a efficient way to render a high scale grid performance wise.