Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actuallarspensjo

Posted 03 October 2012 - 04:19 AM

I did plan in fact some sort of merging to describe voxels with grass on top and rock on the sides, but I don't think that having materials that describe each side (or even two) is useful; if there is rock on the sides, so there is on top and everywhere else. I just thought of using a single bit to know whether there should be grass on top or not. For dirt on top and rock on side, just have a voxel layer of dirt on top of rock should be enough.

Sounds right to me. I use a single type for each block. Then a filter that transforms the blocky view into a smooth view (it moves all coordinates with a little delta). As a last step, dirt block faces with a slope less than a certain limit are drawn using grass instead of dirt.

Posted Image

#1larspensjo

Posted 03 October 2012 - 04:19 AM

I did plan in fact some sort of merging to describe voxels with grass on top and rock on the sides, but I don't think that having materials that describe each side (or even two) is useful; if there is rock on the sides, so there is on top and everywhere else. I just thought of using a single bit to know whether there should be grass on top or not. For dirt on top and rock on side, just have a voxel layer of dirt on top of rock should be enough.

Sounds right to me. I use a single type for each block. Then a filter that transforms the blocky view into a smooth view (it moves all coordinates with a little delta). As a last step, dirt block faces with a slope less than a certain limit are drawn using grass instead of dirt.Posted Image

PARTNERS