-
-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protruding geometry when using flat shading #714
Comments
This is an artifact present due to a workaround to a caveat of marching cubes (which Transvoxel is based on): they can generate slivers, extremely thin or small triangles which are known to make the Jolt Physics addon unhappy, amongst other things. If you don't want the current workaround to be active at all (and therefore you will get slivers), you can set the |
Thanks for the advice. Is there a list of games that use your plugin? It would be interesting to see a similar list as in the documentation of the Terrain3D plugin. |
I haven't considered adding a list of games because I don't know many projects using it. There are a few that used it at some point, others that might still be using it but haven't heard of in a while. |
Hello. I'm just starting to use this plugin. The documentation shows an example of how to make flat shading.
I inserted
NORMAL = normalize(cross(dFdy(VERTEX), dFdx (VERTEX)));
at the end of fragment shader in transvoxel_terrain_material.Is there a way to get rid of this?
P.s. I am using the latest release version
The text was updated successfully, but these errors were encountered: