这是indexloc提供的服务,不要输入任何密码
Skip to content

DrawMesh : Fix Alpha and Add Flat Shading #712

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

Merged
merged 3 commits into from
Jul 20, 2025

Conversation

newemka
Copy link
Contributor

@newemka newemka commented Jul 16, 2025

I spotted an issue with [DrawMesh] being scaled down with [Transform].

Check [GamepadExample] the Dpad is looking half transparent and reveals Z fighting issue in its shading (the Z fighting is normal it's because of how I made this Dpad shape).

Issue:
issue01
issue02

Solution:
solution

Flat shading

Example : A torus mesh set with minimum segments in order to get a Triangle
image

looks much better with flat shading
image

@pixtur pixtur merged commit 1e6c9e0 into tixl3d:main Jul 20, 2025
1 check passed
@newemka newemka deleted the featureMain/MeshDrawFixAndFlatShading branch July 25, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants