We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This bug was found in both #26710 and #25696 But was mixed in with a few other bugs. This issue supercedes them both.
Godot version: Master
Issue description: When a mesh with culling disabled is given a negative size the normals appear backwards in GLES3.
https://user-images.githubusercontent.com/5222656/52463875-9e985800-2b46-11e9-9db0-136267400a36.png
Note: this issue doesn't appear when using cull_front or cull_back because Godot detects when the scale is negative and flips the culling operation.
godot/servers/visual/visual_server_scene.cpp
Line 950 in 6895ad3
Steps to reproduce:
Minimal reproduction project: https://github.com/godotengine/godot/files/2844079/tests_3.1.zip
The text was updated successfully, but these errors were encountered:
Seems still valid in ba51af7
Sorry, something went wrong.
@KoBeWi I can reproduce this on v4.0.dev.custom_build [2a28df8]
as you can see the left side (its a meshinstance inverted on scale)
thanks to @lyuma this can be workarounded via vertex shader:
PS: Lines 25-26
cull_disabled
cull_front
No branches or pull requests
This bug was found in both #26710 and #25696 But was mixed in with a few other bugs. This issue supercedes them both.
Godot version:
Master
Issue description:
When a mesh with culling disabled is given a negative size the normals appear backwards in GLES3.
https://user-images.githubusercontent.com/5222656/52463875-9e985800-2b46-11e9-9db0-136267400a36.png
Note: this issue doesn't appear when using cull_front or cull_back because Godot detects when the scale is negative and flips the culling operation.
godot/servers/visual/visual_server_scene.cpp
Line 950 in 6895ad3
Steps to reproduce:
Minimal reproduction project:
https://github.com/godotengine/godot/files/2844079/tests_3.1.zip
The text was updated successfully, but these errors were encountered: