Jump to content

Using GridMaterial to create a reference grid on a cube


Gunmage
 Share

Recommended Posts

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...