Using voxels #337
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
To match your image, you can customize the shader to add your own vertex grid as demonstrated in the vertex grid debug shader, and use more uniform, non-realistic textures. For a low poly look, you could change texture filtering to nearest and reduce the UV scale of the textures or use low res textures if you want blocky textures (both shown). You could modify your custom shader to use flat normals, or adjust the texture blending to limit it to one texture per square (neither shown here, nor in your image).
Making a blocky terrain like minecraft would require adding vertices, which cannot be done by the shader. It would require rewriting our mesh generation. Instead, you should use voxel tools, which is designed for it.
You should ask about that on Zylann's repository and learn to use his tool better. It works fine with heightmaps. |
Beta Was this translation helpful? Give feedback.
To match your image, you can customize the shader to add your own vertex grid as demonstrated in the vertex grid debug shader, and use more uniform, non-realistic textures.
For a low poly look, you could change texture filtering to nearest and reduce the UV scale of the textures or use low res textures if you want blocky textures (both shown). You could modify your custom shader to use flat normals, or adjust the texture blending to limit it to one texture per square (neither shown here, nor in your image).
Making a blocky terrain like minecraft would require adding vertices, which cannot be done by the shader. It would re…