Basic player control.

Basic player control.

Basic camera and player control is implemented. Still a long way to go with the controls, but experiencing the world as a player is starting to become possible.

I had some z-fighting issues at the edges where polygon edges were touching, I amplify the effect here to make it obvious in the screenshot:

Z-fighting errors at the edges of hexagons (the black pixels).

This was fixed by using a logarithmic depth buffer. Babylon has this built in, you need to enable it for every material you use, if you choose to use this.

Also I reduced the camera frustum length to the minimum possible.

Bean

Bean
I'm Bean. From BeanstalkBlue.
https://beanstalk.blue

Robust character collision!

Player character now detects collision. Continue reading

Collision beginnings

Published on March 24, 2017

Collision beginnings

Published on March 24, 2017