Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Timofey |
I already have a project doing this, but one side of the chunk is generated with inverted voxels. How to generate it correctly?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Timofey |
I already have a project doing this, but one side of the chunk is generated with inverted voxels. How to generate it correctly?
Reply From: | Coxcopi |
I haven’t looked at your project yet, but I had the same problem a while back, and the reversed faces have to do with triangle creation order. The simple fix would be to just give them a material with the culling mode set to disabled, the hard mode would be changing the vertex order for the triangles (assuming you are creating voxels that way).
This might help:
Triangle strip - Wikipedia.
(Also, this is the link which I found back when I had the same problem: Reddit - Dive into anything)
thanks, but I decided to go through the tutorial on the unity first, and then remake the game for a godot.
Timofey | 2021-06-16 06:52