Jump to content

Grid Material Offset


Pryme8
 Share

Recommended Posts

Ill take a look at the github, Im sure its not a hard addition and I am sitting idle at work right now so might as well try to get a commit in.

https://github.com/BabylonJS/Babylon.js/blob/master/dist/preview release/materialsLibrary/babylon.gridMaterial.d.ts
https://github.com/BabylonJS/Babylon.js/blob/master/dist/preview release/materialsLibrary/babylon.gridMaterial.js

Are the only two files I can find on it,  Where is the ts file that has the shader information in it?

https://github.com/BabylonJS/Babylon.js/tree/master/materialsLibrary/src/grid

NM found it...

And I have no clue how to edit it... Like ts is putting me off from ever contributing, this sucks because I can "read" it but am clueless still on how to modify it, it looks off and my brain is wired to hard for vanilla js.  I can edit the shader no problem but the ts part is just not something I am able to mess with.  God I wish we were still using javascript...

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...