Jump to content

Dynamic Flat Shaded Ground Demo


Suphi
 Share

Recommended Posts

Hello and welcome to my flat shaded ground demo.

So if you want to make a dynamic ground that is flat shaded using the convertToFlatShadedMesh function would make it a 2 step process so i made my own custom mesh builder that also flips the triangles to give a better effect.

DEMO
http://www.babylonjs-playground.com/#1SLLOJ#77

how to - Equilateral Triangles
http://www.babylonjs-playground.com/#ANEKM#8  //this is not dynamic look at demo to see how to edit equilateral triangles

how to - Right Triangles
http://www.babylonjs-playground.com/#ANEKM#6

flatshaded.png

Link to comment
Share on other sites

Yes iv seen the worldmonger demo it's grate ill try to make a similar demo of this flat shaded mesh
the thing i love about flat shaded meshes is 1 you don't need to use textures and 2 it still looks good at low resolution

and that's what i need as the map data for my game will be sent over from the server

screenshot2-1024x616.png

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